Category Archives: Swift

Simplifying Autolayout Code with Swift

This evening I found myself staring at a block of Autolayout code, thinking to myself: “There must be a better way”. Of course, the ideal is to do all your Autolayout in Interface Builder, but every now and then there … Continue reading

Posted in Programming, Swift | 2 Comments

Using CommonCrypto in Swift

Using CommonCrypto in Swift is tricky because it is not a standalone module, so you cannot just import CommonCrypto. In this post I will describe three methods that facilitate using CommonCrypto in Swift and how to choose which method is best … Continue reading

Posted in Objective-C, Swift, Tutorial | 6 Comments

Swift Standard Library: Zip2

There are lots useful of type, functions, protocols and classes in the Swift Standard Library, many of which have little or no documentation. After finding Swifter a website that extracts what little documentation exists, I have been trying to come … Continue reading

Posted in Swift, Tutorial | Leave a comment