ExpectNotNil: Handling Swift optionals that should never be nil

Fail gracefully (i.e., don’t crash), but let me know something went wrong so I can fix it in my next release. Read more

Similar

Initializers in Swift

Let’s take a look at one of the core aspects of object-oriented programming — initialization. What characteristics should an initializer ideally have, and what sort of techniques could be useful in order to keep our initializers simple and predictable? (more…)

Read more »