Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Let’s end this discussion of Objective-C by hitting the high points:
• Methods are called in the form of [object method]. If calling a method in the same class, you use self, for example, [self myMethod].
• Parameters are named, such as [self myMethod:myParameter].
• If you create the object, then you need to release it.
• Likewise, if you don’t create the object, then don’t release it.
• Categories and protocols offer powerful and useful functionality.
Objective-C involves much more than the elements explained in this overview. It is recommended that you do further reading of the Objective-C documents that Apple supplies on http://developer.apple.com, or browse the many introductory articles about Objective-C on the Internet.
Objective-C may look a little weird if you haven’t used it before; but in time you will appreciate its power and nuances, and it may end up being your favorite language.