Digging Into Documentation

How did we know that an AVPlayer class exists, and that it can play an audio stream? Well, for now, your authors are happy to steer you in the right direction, but eventually you’ll want to find features and functionality on your own, so let’s see how that’s done.

The documentation for the iOS Software Development Kit (SDK) is available within Xcode itself, in a handy documentation viewer. Use the menu item Window > Documentation and API Reference (0) to show it.

images/playing/xcode-documentation-viewer-first.png

When opened for the first time, the documentation viewer shows a “What’s New in Xcode” document, with an index of topics in a pane on the left. At the ...

Get iOS 9 SDK Development 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.