Wed, Jul 1
Simulate Rolled Dice and Random Numbers

Erica Sadun:

“One of the great things about GameplayKit is how it helps you simulate rolled die and random distributions…Here’s an example that demonstrates how to generate random values.”

Swift and Random Values.

UIStackView Playground

Christopher Truman wrote a playground to demonstrate some of the features of UIStackView announced at WWDC 2015.

UIStackView Playground

Tue, Jun 30
Thoughts on Swift 2 Error Handling

Nick Lockwood on Swift 2 error handling:

  • Why the Swift designers are saying that Swift’s new errors are not really exceptions, and why that is both true and false.
  • Why the result enum approach to error handling is not a universal solution for error handling in Swift.
  • What I would have done instead.

Thoughts on Swift 2 Errors

Swift: Interesting Swipeable Card-Like UI

Zhixuan Lai:

“A simple view for building card like interface like Tinder and Potluck.”

This is customizable control that is an Objective-C port of ZLSwipeableView.

SwipeableView in Swift.