Learn Objective-C on the Mac
Penciled by MARK DALRYMPLE Inked by SCOTT KNASTER
Objective-C is a superset of C. Objective-C begins with C, and then adds a couple of small but significant additions to the language. If you’ve ever looked at C++ or Java, you may be surprised at how small Objective-C really is. We’ll cover Objective-C’s additions to C in detail in this book’s chapters:
■ Chapter2,“ExtensionstoC,”focusesonthebasicfeaturesthatObjective-Cintroduces.
■ In Chapter 3, “An Introduction to Object-Oriented Programming,” we kick off the
learning by showing you the basics of object-oriented programming.
■ Chapter 4, “Inheritance,” describes how to create classes that gain the features of their parent classes.
■ Chapter 5, “Composition,” discusses techniques for combining objects so they can work together.
■ Chapter 6, “Source File Organization,” presents real-world strategies for creating your program’s sources.
■ Chapter 7, “More about Xcode,” shows you some shortcuts and power-user features
to help you get the most out of your programming day.
■ We take a brief respite from Objective-C in Chapter 8, “A Quick Tour of the Founda- tion Kit,” to impress you with some of Cocoa’s cool features using one of its two primary frameworks.
■ You’ll spend a lot of time in your Cocoa applications dealing in Chapter 9, “Memory Management” (sorry about that).
■ Chapter 10, “Object Initialization,” is all about what happens when objects are born.
■ Chapter 11, “Properties,” gives you the lowdown on Objective-C’s new dot notation
and an easier way to make object accessors.
■ Chapter 12, “Categories,” describes the supercool Objective-C feature that lets you add your own methods to existing classes—even those you didn’t write.
■ Chapter 13, “Protocols,” tells about a form of inheritance in Objective-C that allows classes to implement packaged sets of features.
■ Chapter 14, “Introduction to the Application Kit,” gives you a taste of the gorgeous applications you can develop in Cocoa using its other primary framework.
■ Chapter 15, “File Loading and Saving,” shows you how to save and retrieve your data.
■ Chapter 16, “Key-Value Coding,” gives you ways to deal with your data indirectly. ■ Andfinally,inChapter17,“NSPredicate,”weshowyouhowtosliceanddiceyourdata.
Download here.
No comments:
Post a Comment