Generic Delegate's in Swift

A common pattern in cocoa development is the use of the `delegate` pattern. Most commonly used as a callback mechanism.

In Swift however sometimes we'd like to use this pattern along with a generic implementation of our `Type`. By making a generic constraint on our delegate we can safely define an instance of `Type` and ensure our delegate callbacks are type-safe to the same concrete associated instance.

Read More

Introducing Peek 2.0

Peek is an open source library that lets you easily check your application against your user interface's specification guide(s). Peek can be used by engineers, designers & testers, allowing developers to spend more time on code and less time checking that fonts, colors and layout are pixel perfect.

Read More