Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Wrapping Up

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.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint