Cocoa and Objective-C: Up and Running: Foundations of Mac, iPhone, and iPad Programming

Cocoa and Objective-C: Up and Running: Foundations of Mac, iPhone, and iPad Programming

by Scott Stevenson
Cocoa and Objective-C: Up and Running: Foundations of Mac, iPhone, and iPad Programming

Cocoa and Objective-C: Up and Running: Foundations of Mac, iPhone, and iPad Programming

by Scott Stevenson

eBook

$20.99  $27.99 Save 25% Current price is $20.99, Original price is $27.99. You Save 25%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

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

Product Details

ISBN-13: 9781449390716
Publisher: O'Reilly Media, Incorporated
Publication date: 04/16/2010
Sold by: Barnes & Noble
Format: eBook
Pages: 416
File size: 8 MB

About the Author

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.

Table of Contents

Preface; Who This Book Is For; How This Book Is Organized; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; Chapter 1: Setup and First Run; 1.1 Download and Install Xcode; 1.2 Your First Application; Chapter 2: Thinking in Code: Basic C; 2.1 How Code Works; 2.2 How to Format Code; 2.3 Variables; 2.4 Functions; 2.5 Example: FirstProgram; 2.6 Scope; 2.7 Conditionals; 2.8 Example: ShoppingTrip; 2.9 Wrap Up; Chapter 3: Memory and Pointers: Advanced C; 3.1 Arrays; 3.2 Loops; 3.3 Text Strings; 3.4 Multidimensional Arrays; 3.5 Pointers; 3.6 Dynamic Memory; 3.7 Strings and Dynamic Memory; 3.8 Arrays of Strings; 3.9 Example: AddressBook; 3.10 Structs; 3.11 Header Files; 3.12 Compile and Run the HeaderFileTest Example; 3.13 Create Files for the Song Struct; 3.14 Final Example; Chapter 4: Thinking in Objects; 4.1 Structs and Classes; 4.2 Accessors; 4.3 Inheritance; 4.4 Composition; 4.5 Object Lifetime; 4.6 Built-in Classes; Chapter 5: Basic Objective-C; 5.1 NSString Basics; 5.2 Using Methods; 5.3 Accessors; 5.4 Creating Objects; 5.5 Basic Memory Management; 5.6 Declaring a Class; 5.7 Implementing a Class; 5.8 Example: PhotoInfo; Chapter 6: More Objective-C; 6.1 More on Memory Management; 6.2 Class Name Prefixes; 6.3 Properties; 6.4 64-Bit Objective-C; 6.5 Categories; 6.6 Introspection; 6.7 Protocols; 6.8 Dynamic Messaging; 6.9 Exceptions; 6.10 Example: DataCollector; Chapter 7: Foundation Value Classes; 7.1 NSString; 7.2 Mutability; 7.3 Core Foundation; 7.4 NSNumber; 7.5 NSData; 7.6 NSArray; 7.7 NSDictionary; 7.8 NSSet; 7.9 NSValue; 7.10 NSDate; Chapter 8: Basic Controls; 8.1 How to Use This Chapter; 8.2 Windows and Views; 8.3 Targets and Actions; 8.4 Outlets; 8.5 Datasources; 8.6 Bindings; Chapter 9: Designing Applications Using MVC; 9.1 About This Project; 9.2 Create the Project Files; 9.3 Create the User Interface; 9.4 Run the Application; 9.5 Preparing for Release; Chapter 10: Custom Views and Drawing; 10.1 Basic Geometry; 10.2 Basic Drawing; 10.3 Bezier Paths; 10.4 Images; 10.5 Shadows; 10.6 Gradients; 10.7 Refactoring View Code; 10.8 Text; 10.9 Handling Mouse and Keyboard Events; Chapter 11: The Final Word; 11.1 The List; 11.2 Websites; 11.3 Last Thought; Colophon;
From the B&N Reads Blog

Customer Reviews