Pick a Delegate… Any Delegate… On Clean View Controllers in Swift

The delegation pattern is ubiquitous in iOS development – the pattern is a “core competency” for developing in Cocoa, and if you program with the iOS SDK for any length of time and you’ll end up writing some code that resembles  someInstance.delegate = someDelegate. One of the toughest things that I’ve experienced is choosing what someDelegate is.  All too often, a View […]