Covering the bulk of what you need to know to develop full-featured applications for OS X, this edition is updated for OS X Yosemite (10.10), Xcode 6, and Swift. Written in an engaging tutorial style and class-tested for clarity and accuracy, it is an invaluable resource for any Mac programmer. The authors introduce the two most commonly used Mac developer tools: Xcode and Instruments. They also cover the Swift language, basic application architecture, and the major design patterns of Cocoa. Examples are illustrated with exemplary code, written in the idioms of the Cocoa community, to show you how Mac programs should be written.
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.
......(更多)
Aaron Hillegas,曾就职于Next和Apple,现在在Big Nerd Ranch主讲Cocoa编程。第一套OpenStep(Cocoa的前身)教程即出自其手。本书基于Aaron在Big Nerd Ranch的教学内容,并融入了他在OpenStep和Cocoa方面15年的工作经验。
......(更多)
Cocoa: What Is It?
Let's Get Started
Swift
Memory Management
Target/Action
Helper Objects
NSWindowController, NSViewController, XIBs, and MVC
Key-Value Coding/Key-Value Observing
NSArrayController
NSUndoManager
Archiving an Protocols
Basic Core Data
NSWindowController
User Defaults
Using Notifications
Using Alert Panels
Localization
Custom Views
Images and Mouse Events
Keyboard Events
Drawing Text with Attributes
Pasteboards and Nil-Targeted Actions
Categories
Drag-and-Drop
NSTimer
Sheets
Creating NSFormatters
Printing
Web Services
Closures
More Core Data
Storyboards
Collection Views
Core Animation
Concurrency
Unit Testing
Cocoa and OpenGL
NSTask
Distributing Your App
......(更多)
......(更多)