Published by Big Nerd Ranch Guides (April 16, 2015) © 2015
Aaron Hillegass | Adam Preble | Nate Chandler
After reading this book, you will know enough to understand and utilize Apple’s online documentation for your own unique needs. And you will know enough to write your own stylish code.
This edition was written for Xcode 6.3 and Swift 1.2. At WWDC 2015, Apple announced Xcode 7 and Swift 2, both of which introduce significant updates that (along with some changes to Cocoa for OS X 10.11) affect some of the exercises in this book. We have prepared a companion guide listing the changes needed to use Xcode 7 to work through the exercises in the book; it is available at https://github.com/bignerdranch/cocoa-programming-for-osx-5e/blob/master/Swift2.md.
- Let's Get Started
- Swift Types
- Structures and Classes
- Memory Management
- Controls
- Delegation
- Working with Table Views
- KVC, KVO, Bindings
- NSArrayController
- Formatters and Validation
- NSUndoManager
- Archiving¿
- Basic Core Data
- NSWindowController
- User Defaults
- Alerts and Closures
- Using Notifications
- NSView and Drawing
- Mouse Events
- Keyboard Events
- Drawing Text with Attributes
- Pasteboards and Nil-Targeted Actions
- Drag-and-Drop
- NSTimer
- Sheets
- AutoLayout
- Localization and Bundles
- Printing
- Web Services
- Unit Testing
- View Controllers
- View Swapping and Custom Container View Controllers
- Storyboards
- Core Animation
- Concurrency
- NSTask
- Distributing Your App