|

Learn Objective-C on the Macintosh
By Mark Dalrymple and Scott Knaster
Become a programming superhero!
Take your coding skills to the next level with this extensive
guide to Objective-C, Apple's programming language for developing sophisticated
software applications for Mac OS X.
Objective-C is a powerful extension of C, making
this book the perfect follow-up to Dave Mark's best-selling Learn
C on the Macintosh (Mac OS X Edition). Whether you're an experienced
C programmer or you're coming from a different language such as C++ or Java,
leading Mac experts Mark Dalrymple and Scott Knaster show you how to harness
the powers of Objective-C in your applications!
Edited by acclaimed author Dave Mark and packed with
time-saving source code examples, this is the definitive guide to Objective-C
for Xcode developers!
Includes:
- A complete course on the basics of Objective-C
using Apple's free Xcode tools.
- An introduction to object-oriented programming.
- Comprehensive coverage of Inheritance, Composition, Object Initialization, Categories, Protocols, memory management and organizing source files.
- A brief tour of Cocoa's Foundation framework and AppKit.
- A helpful "learning curve" guide for non-C developers (Appendix
A).
Buy the eBook
--OR-- Buy the Printed Book
Download
the FREE eBook Preview
or view the online Printed Edition Preview
Table of Contents
| Chapter 1: Hello |
 |
Where the Future was Made Yesterday |
 |
What's Coming Up |
| Chapter 2: Extensions to C |
 |
The Simplest Objective-C Program |
 |
Deconstructing Hello Objective-C |
 |
BOOL |
| Chapter 3: Introduction to Object-Oriented Programming |
 |
It's All Indirection |
 |
Object-Oriented Programming and Indirection |
 |
Object Orientation |
 |
Time Out for Terminology |
 |
OOP in Objective-C |
| Chapter 4: Inheritance |
 |
Why Have Inheritance? |
 |
Inheritance Syntax |
 |
How It Works |
 |
Overriding Methods |
| Chapter 5: Composition |
 |
Composition |
 |
Accessor Methods |
 |
Extending CarParts |
 |
So, Which to Use? |
| Chapter 6: Organizing Source Files |
 |
Split Interface And Implementation |
 |
Breaking Apart the Car |
 |
Cross-File Dependencies |
| Chapter 7: A Quick Tour of the Foundation Kit |
 |
Some Useful Types |
 |
Stringing Us Along |
 |
Mutability |
 |
Collection Agency |
 |
Family Values |
 |
Bringing It All Together |
|
 |
| Chapter 8: Memory Mangement |
 |
Object Lifecycle |
 |
Autorelease |
 |
The Rules of Cocoa Memory Management |
| Chapter 9: Object Initialization |
 |
Object Allocation |
 |
Object Initialization |
 |
Isn't That Convenient? |
 |
More Parts is Parts |
 |
The Designated Initializer |
 |
Initializer Rules |
| Chapter 10: Categories |
 |
Creating a Category |
 |
Uses of Categories |
| Chapter 11: Protocols |
 |
Formal Protocols |
 |
Car-bon Copies |
 |
Protocols and Data Types |
| Chapter 12: Introduction to the AppKit |
 |
Making the Project |
 |
Making the AppController @interface |
 |
Interface Builder |
 |
Laying Out the User Interface |
 |
Making Connections |
 |
AppController Implementation |
| Appendix A: Coming to Objective-C from Other Languages |
 |
Coming from C |
 |
Coming from C++ |
 |
Coming from Java |
 |
Coming from REALbasic |
 |
Coming from Scripting Languages |
| Index |
|
Printed: 9x7 softcover, 224 pages (B&W pages), $29.95 US, ISBN: 0-977-78425-8
eBook: PDF, 224 pages (Color pages), $14.95 US
About the Authors
Mark
Dalrymple has been a Mac developer since 1985 and a Unix
programmer since 1990. Over the years he has worked on projects
ranging from cross-platform development toolkits, high-performance
web server software servicing hundreds of millions of hits per day,
medical applications, and video products for Hollywood.
He is the co-author of Core Mac OS X and Unix Programming and Advanced
Mac OS X Programming.
Scott
Knaster is a legendary Mac hacker and author of such best-selling
books as Hacking Mac OS X Tiger and Macintosh
Programming Secrets. His book
How to Write Macintosh Software was required reading for Mac programmers
for more than a decade.
|

|