Do you remember the first time you experienced multimedia on a computer? Was it the carefully
orchestrated town music of The Oregon Trail on an Apple Il? Or maybe it was a YouTube video of a
talented feline playing a catchy tune on a keyboard?
What about when you started to get into programming? Was it to make a game? Or perhaps emulate
the exact tone of the school bell so you could get out of class early?
For many people, multimedia has been one of the most exciting and personal aspects of computing.
For some of us (myself included), it was an inspiration to learn programming. The lure of multimediat
has not changed as computing has become mobile, but fortunately, it is now easier than ever to get
started making your own multimedia apps.
iOS provides an incredibly deep set of APIs (application programming interfaces) that allow you to
display and capture photos, videos, and audio within your apps. These APIs are built directly into
Cocoa Touch, meaning you do not need to include any external libraries to use them. For many of
the APIs, including the camera, the capture interface exposed in your app is the same one used
throughout the system. This is a great improvement over the “good old days,” when integrating a
camera may have required talking to your component manufacturer for several weeks and porting
sample code.
The goal of this book is to help you take what you already know about iOS app development and
apply it to media app development. One of the great things about Cocoa Touch is how much Apple
has abstracted low-level functionality for you. You can now build apps that let you play video without
having to become an expert on video codecs.
By building apps that focus on specific APIs, and picking up new programming concepts along the
way, you will make incremental progress and avoid being overwhelmed by the seemingly infinite set
of APIs available in iOS. The units in this book (photo, video, audio) begin by showing you how to get
started with the relevant APIs and then peel back the layers, allowing you to customize your apps
beyond the basic features provided out-of-the-box.
You have already accomplished a lot to be far enough in your iOS development journey, and I’m glad
you’ve decided to start looking into multimedia features. Let’s go the extra step together and build
some amazing media apps!