Viewing Developer Documentation

The first time you launch Xcode, you will see a Welcome to Xcode window with a variety of choices, as well as a list of previously opened projects (probably empty for you). Click Cancel for now. Instead, open the Help menu and choose Developer Documentation, as shown in Figure 2-3. You will be referring to documentation a lot, and this menu (or keyboard equivalent) is a quick way to open the documentation window before you open a project.

Accessing developer documentation in Xcode

Figure 2-3. Accessing developer documentation in Xcode

The best place to begin in the developer docs is the home page for the latest iOS SDK you are using. Figure 2-4 shows where the main navigation menu is located and what the home page looks like. The Xcode documentation system can display multiple sets of documentation for different iOS versions and Mac OS X development (selectable in Xcode preferences). Figure 2-4 shows only the iOS 4.2 doc set installed.

iOS 4.2 SDK documentation home page

Figure 2-4. iOS 4.2 SDK documentation home page

After you’ve finished this book, the Getting Started section (upper right box in Figure 2-4) is the place to go next. You’ll have enough links to keep you busy for quite a while.

While we’re on the subject of the developer docs, let me also show you how you will interact with the iOS Reference Library while you compose ...

Get Learning the iOS 4 SDK for JavaScript Programmers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.