Cocoa programming for Mac OS X using Swift Chapter 6 DelegateChallenge