Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Title Page
Copyright Page
Foreword
About the Authors
About the Technical Reviewer
Acknowledgements
Preface
Chapter 1 - Must Love Cocoa
Get a Mac and Download the Tools
Download the Source Code
Getting Help
What You Need to Know Before You Begin
Are You Ready?
Chapter 2 - Hello, World
Building “Hello, World”
Exploring the Nib File
The Library
Dragging Out a Label
Using the Blue Guidelines
The Inspector Window
The Attributes Inspector
Change the Label’s Color and Font
Using the Menu Editor
Creating Your Application Icon
Adding Your Icon to Your Project
Property Lists
Running Your Application
Sharing Your Creation With the World
Goodbye, Hello World
Chapter 3 - Lights, Camera… Actions! (and Outlets, Too)
This Chapter’s Application
Frameworks, Frameworks Everywhere
The Cocoa Way: Model-View-Controller
Outlets, Actions, and Controllers
Outlets and Actions in Action
Implementing the Action Method
The Application Delegate
Bring It on Home
Chapter 4 - GUI Components
Creating the VillainTracker Application
Building Your Interface
Getting Started with Coding
In Conclusion
Chapter 5 - Using Table Views
Preparing AppController for Multiple Villains
Making Way for the Table View
Tweaking the Autosizing Characteristics
Making Some New Connections
Making Way for the Table View: Code Edition
The Table View Needs Your Help
Adding and Deleting Villains
In Conclusion
Chapter 6 - Cocoa Bindings
Binding to Simple Controls
Binding to NSUserDefaultsController
Create the Main Window
Binding to a Table View
Show History in Tables
Okay, But How Did That Work?
In Conclusion
Chapter 7 - Core Data Basics
What You’ve Been Missing
Creating MythBase
Exploring the Template Code
Adding Business Logic
In Conclusion
Chapter 8 - Core Data Relationships
Modeling New Entities and Relationships
Updating the GUI
Wrapping Up Relationships
Chapter 9 - Search and Retrieve Core Data with Criteria
Creating QuoteMonger
Limiting Results with NSPredicate
User-Defined Predicates
In Conclusion
Chapter10 - Windows and Menus and Sheets
NSWindow and NSPanel
System Menus
Wrap-up
Chapter11 - Document-Based Applications
Creating the ColorMix Application
Setting Two Colors
Settling on a File Format
Adding Color
About Undo and Redo
In Conclusion
Chapter12 - Exceptions, Signals, Errors, and Debugging
Exception Handling
Worse than Exceptions: Death by Signal
In Conclusion
Chapter13 - Drawing in Cocoa
Fundamentals
Creating an NSView Subclass
LOLmaker
Printing Basics
Wrapping Up
Chapter14 - Advanced Drawing Topics
Editing a Curve
Core Animation: A Primer
What Have We Done?
Chapter15 - Working with Files
Implicit File Access
Filing It All Away
Chapter16 - Concurrency
SlowWorker
Threading Basics
Vitalizing SlowWorker
GCD: Low-Level Queuing
A Little Concurrency Goes a Long Way
Chapter17 - Future Paths
More Cocoa-isms
Ported Cocoa
Here at the End of All Things
Index
← Prev
Back
Next →
← Prev
Back
Next →