05.01.2013 Views

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

Mac OS X Leopard - ARCAism

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

512<br />

CHAPTER 26 MAC <strong>OS</strong> X DEVELOPMENT: OBJECTIVE-C<br />

Objective-C 2.0 Runtime Reference: This is detailed and specific documentation of the<br />

<strong>Mac</strong> <strong>OS</strong> X Objective-C runtime. Rather than discussing the high-level metaphors and<br />

philosophies of the runtime, its topics include changes to underlying structure and<br />

functions and incompatibilities and deprecations between the 32-bit and 64-bit versions<br />

of the Application Binary Interface.<br />

Introduction to Memory Management Programming Guide for Cocoa: This is an in-depth<br />

look at manual memory management in Objective-C. It looks at object ownership<br />

conventions, autorelease pools, how memory is managed in the API, and how memory<br />

management should be implemented in your own classes.<br />

Introduction to Garbage Collection: This is a complete description of automated memory<br />

management in Objective-C 2.0. It discusses the essential things any Cocoa programmer<br />

must know about garbage collection, the architecture of the garbage collector, issues you’re<br />

likely to discover while adopting garbage collection, and a summary of the garbage<br />

collection API.<br />

There are also several good books on Objective-C and <strong>Mac</strong> programming. We recommend<br />

Programming in Objective-C by Stephen Kochan (Sams, 2003) as unique, in that it doesn’t<br />

assume you already know C or some other language, as well as being a pretty decent book.<br />

Summary<br />

Lots of languages can be used to develop applications for the <strong>Mac</strong>, and even more can be used to<br />

develop applications on the <strong>Mac</strong>. Yet Objective-C is Apple’s choice for the future of native <strong>Mac</strong><br />

programming. That’s because, increasingly, Objective-C has been designed for exactly that<br />

purpose.<br />

Since its origins at NeXT, <strong>Mac</strong> <strong>OS</strong> X has never been afraid to do things differently in its<br />

quest to do things better. Objective-C is an extension of this spirit. Yes, it takes a little bit of extra<br />

time to learn to do things this way, but that investment is quickly repaid many times over.<br />

Objective-C is to programming languages as the <strong>Mac</strong>intosh is to computers: simply the best<br />

combination of speed, power, and productivity.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!