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 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 two-pane window that lists three languages in the left pane—Swift, Objective-C, and JavaScript—and has an empty right ...

Get iOS 10 SDK Development, 1st Edition 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.