What is Delegation? – A Swift Developer’s Guide

Of the major design patterns that are prevalent in iOS development, delegation is one that appears quite often. For many developers entering app development for the iOS platform, dealing with delegates is a new concept. It certainly was for me. In my analysis of NSNotificationCenter vs Delegation, I wrote some about delegation, but only in […]

NSNotificationCenter vs Delegation – An Analysis

In Fundamentals of NSNotificationCenter in Swift, a commenter asked me to elaborate on a response I’d given to a dialog going on below the blog post. I had stated: If you need a more structured environment around your [instance]-to-[instance] communication, delegates … are probably a better choice [than NSNotificationCenter]. I’ve been thinking for some time […]