The documentation provided with Xcode is extremely helpful. It provides a lot of the information you’ll need to create apps for iOS devices. If you want to know how a particular class works, you look in the documentation to find exactly what is required and what methods are available. Understanding the documentation is one of the keys to being able to successfully start and finish writing an app.
How to Access the Documentation
You can access the documentation in several ways. This includes the web and the Xcode organizer as well as snippets of text that appear when typing in method names. Lets take a quick look at each so that you can get a good understanding of where to find the documentation.
On the web, you simply need to search for something like “corelocation class reference”. To find the official documentation, look for search results from the developer.apple.com domain name. Typing in the above search term shows the results (image to the left). The first result is the Framework reference which lists the Class References found within that framework. You can select this one, but if you want the corelocation class reference (called CLLocation and CLLocationManager) then you’ll need to select one of them on the next page.
When loading up the actual class reference for CLLocation, you will see the overview and tasks as well as what the class inherits from.