Publisher: O'Reilly Media Released: March 2010 Pages: 416
Build solid applications for Mac OS X, iPhone, and iPod Touch, regardless of whether you have basic programming skills or years of programming experience. With this book, you'll learn how to use Apple's Cocoa framework and the Objective-C language through step-by-step tutorials, hands-on exercises, clear examples, and sound advice from a Cocoa expert. Cocoa and Objective-C: Up and Running offers just enough theory to ground you, then shows you how to use Apple's rapid development tools -- Xcode and Interface Builder -- to develop Cocoa applications, manage user interaction, create great UIs, and more. You'll quickly gain the experience you need to develop sophisticated Apple software, whether you're somewhat new to programming or just new to this platform. - Get a quick hands-on tour of basic programming skills with the C language
- Learn how to use Interface Builder to quickly design and prototype your application's user interface
- Start using Objective-C by creating objects and learning memory management
- Learn about the Model-View-Controller (MVC) method of sharing data between objects
- Understand the Foundation value classes, Cocoa's robust API for storing common data types
- Become familiar with Apple's graphics frameworks, and learn how to make custom views with AppKit
|
-
Chapter 1 Setup and First Run -
Download and Install Xcode -
Your First Application -
Chapter 2 Thinking in Code: Basic C -
How Code Works -
How to Format Code -
Variables -
Functions -
Example: FirstProgram -
Scope -
Conditionals -
Example: ShoppingTrip -
Wrap Up -
Chapter 3 Memory and Pointers: Advanced C -
Arrays -
Loops -
Text Strings -
Multidimensional Arrays -
Pointers -
Dynamic Memory -
Strings and Dynamic Memory -
Arrays of Strings -
Example: AddressBook -
Structs -
Header Files -
Compile and Run the HeaderFileTest Example -
Create Files for the Song Struct -
Final Example -
Chapter 4 Thinking in Objects -
Structs and Classes -
Accessors -
Inheritance -
Composition -
Object Lifetime -
Built-in Classes -
Chapter 5 Basic Objective-C -
NSString Basics -
Using Methods -
Accessors -
Creating Objects -
Basic Memory Management -
Declaring a Class -
Implementing a Class -
Example: PhotoInfo -
Chapter 6 More Objective-C -
More on Memory Management -
Class Name Prefixes -
Properties -
64-Bit Objective-C -
Categories -
Introspection -
Protocols -
Dynamic Messaging -
Exceptions -
Example: DataCollector -
Chapter 7 Foundation Value Classes -
NSString -
Mutability -
Core Foundation -
NSNumber -
NSData -
NSArray -
NSDictionary -
NSSet -
NSValue -
NSDate -
Chapter 8 Basic Controls -
How to Use This Chapter -
Windows and Views -
Targets and Actions -
Outlets -
Datasources -
Bindings -
Chapter 9 Designing Applications Using MVC -
About This Project -
Create the Project Files -
Create the User Interface -
Run the Application -
Preparing for Release -
Chapter 10 Custom Views and Drawing -
Basic Geometry -
Basic Drawing -
Bezier Paths -
Images -
Shadows -
Gradients -
Refactoring View Code -
Text -
Handling Mouse and Keyboard Events -
Chapter 11 The Final Word -
The List -
Websites -
Last Thought -
Colophon |
- Title:
- Cocoa and Objective-C: Up and Running
- By:
- Scott Stevenson
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- April 2010
- Ebook:
- April 2010
- Pages:
- 416
- Print ISBN:
- 978-0-596-80479-4
- | ISBN 10:
- 0-596-80479-2
- Ebook ISBN:
- 978-1-4493-8816-4
- | ISBN 10:
- 1-4493-8816-7
|
-
Scott Stevenson Scott Stevenson has been programming with Cocoa for seven years, and runs Cocoa Dev Central, one of the top destinations for programmers who want to learn Cocoa. View Scott Stevenson's full profile page. |
Colophon The animal on the cover of Cocoa and Objective-C: Up and Running is a Pampas cat (Leopardus pajeros). Named for the Pampas region of South America, the Pampas cat is relatively small for a wild cat and resembles domestic cats in size and stature: adults grow to only about two feet high and weigh between three and four kilograms. Individuals display varying combinations of stripes and spots on their coats, and vary in color depending on geographical location; dominant colors include grey, yellow-brown, rust, and black. The Pampas cat exists only in western central South America, but enjoys a wide distribution therein. The species has shown that it can thrive not only in the open grasslands with which it is most often associated, but also in the woodlands of Gran Chaco and central Brazil, the low-lying swampy areas of Uruguay, the semiarid desert of Patagonia, and the elevations of the Andes. In fact, the only significant South American habitat in which it cannot be found is the rain forest, either temperate or tropical. Scientific classification for the Pampas cat has become a complicated issue over the past two decades. Formerly, the Pampas cat was considered only a subspecies of the Colocolo (Leopardus colocolo), which itself previously belonged to the separate, now defunct genus Oncifelis. The Pampas cat was distinguished as its own species in 2005, along with the Pantanal cat (Leopardus braccatus), but taxonomists still disagree about whether there is enough biological difference to validate the move. Despite their wide range, relatively few specimens are captured for genetic testing. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Julia Lerman
January 2009
By Carla Schroder
November 2007
Ebook: $35.99
Print & Ebook: $49.49
Print: $44.99
By Shin Takahashi, Trend-Pro Co., Ltd.
November 2008
Ebook: $15.95
Print & Ebook: $21.95
Print: $19.95
|
Customer Reviews

By NortonTheDog from GTA Ontario - Accurate
- Concise
- Easy to understand
- Helpful examples
- Well-written
By Manuel1971 from Belgium 9/21/2011 (1 of 1 customers found this review helpful) 2.0Book editing is terrible By Al from Toronto, Canada - Difficult to understand
- Too many errors
6/5/2011 (1 of 1 customers found this review helpful) 5.0Got C background? If not, get this book By SprawlMaven from Puget Sound About Me Developer, Educator - Accurate
- Easy to understand
- Helpful examples
- Useful background
- Well-written
- Intermediate
- No C Background
- Novice
- Student
11/29/2010 (5 of 5 customers found this review helpful) By KritterKlr from Culver City, CA - Easy to understand
- Helpful examples
- Well-written
9/21/2010 (2 of 16 customers found this review helpful) 3.0Bizarre example of Dictionaries By Comet from Naperville, IL - Easy to understand
- Helpful examples
7/7/2010 (20 of 21 customers found this review helpful) 5.0Great book, one of best on the market By Pirx the Pilot from Gdynia, Poland About Me Designer, Developer - Accurate
- Concise
- Easy to understand
- Helpful examples
- Well-written
- Intermediate
- Novice
- Student
5/12/2010 (36 of 100 customers found this review helpful) 2.0This book is not for beginners.
|
|
|