My attempt to port "Cocoa Programming for Mac OS X" to Swift.