Monthly Archives: July 2016

My book: iOS Development with Swift – Early access Deal of the Day!

I’m pleased to announce that I am half way through writing a book on iOS development with Swift, to be published by Manning Publications. The great news if you have experience in programming is that this book skips over all the basics, and skips

Posted in Swift

Keyboards, text views and first responders

If you’re moving your app’s interface from under the keyboard when it appears, you’re probably doing the following: 1. Get a reference to the relevant text field in the UITextFieldDelegate‘s textFieldDidBeginEditing method. 2. Listen to a relevant keyboard notification (possibly

Tagged with: , , , ,
Posted in Swift

Any vs AnyObject vs NSObject

What is the difference between these three enigmatic types? A sometimes confusing topic, let’s get it straight. UPDATE: Things have changed in Swift 3! This post has been updated for Swift 3 here. You probably know Swift is a type-safe

Tagged with:
Posted in Swift