O'Reilly logo

Objective-C Programming: The Big Nerd Ranch Guide by Mikey Ward, Aaron Hillegass

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Class references

So where do you find methods that you need? Apple maintains a class reference for each class in its APIs. The class reference lists all of the methods of a class and basic information on how to use them.

In Xcode, select HelpDocumentation and API Reference. This will open Xcode’s documentation browser.

In the search field at the top of the window, enter NSString.

Figure 16.1  NSString class reference

NSString class reference

(You can also access the documentation via Apple’s developer website. To get to the NSString class reference, simply search for NSString class reference. The first result returned is usually the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required