Beginning iOS Media App Development - Ahmed Bakir.pdf
(
13476 KB
)
Pobierz
de
d
clu
an
In
S 8 e 6
iO cod
X
Build rich photo, video, and audio apps.
s
iOS Media App
Development
Ahmed Bakir
Beginning
For your convenience Apress has placed some of the front
matter material after the index. Please use the Bookmarks
and Contents at a Glance links to access them.
Contents at a Glance
About the Author ................................................................................................................
xv
About the Technical Reviewer ..........................................................................................
xvii
Acknowledgments .............................................................................................................
xix
Introduction .......................................................................................................................
xxi
Chapter 1
:
Welcome to iOS Media App Development ........................................................1
Part I: Images .............................................................................................
23
Chapter 2
:
Adding Images to Your App ...........................................................................25
Chapter 3
:
Doing Useful Things with Your Images ..........................................................49
Chapter 4
:
Advanced Photo Interfaces ............................................................................73
Part II: Audio.............................................................................................
113
Chapter 5
:
Playing and Recording Audio Files ..............................................................115
Chapter 6
:
Using External Audio Sources......................................................................145
Chapter 7
:
Advanced Audio Topics ................................................................................171
v
vi
Contents at a Glance
Part III: Video ............................................................................................
197
Chapter 8
:
Playing and Recording Video .......................................................................199
Chapter 9
:
Building a Custom Video-Playback Interface ..............................................225
Chapter 10
:
Building a Custom Video-Recording Interface ...........................................255
Part IV: iOS8 and Beyond ..........................................................................
293
Chapter 11
:
User Interface Development with Xcode 6.................................................295
Chapter 12
:
Using the AVKit Framework for Media Playback .......................................317
Chapter 13
:
Tracking Fitness with HealthKit and Core Motion......................................343
Chapter 14
:
Getting Started with Swift .........................................................................375
Index .................................................................................................................................401
Introduction
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
!
xxi
Plik z chomika:
jonedave3
Inne pliki z tego folderu:
B-29 Superfortress vs Ki-44 - Donald Nijboer.epub
(25672 KB)
B-17 Flying Fortress Units of t - William Hess.epub
(18102 KB)
B00XANZZ4A_EBOK_nodrm.azw3
(31349 KB)
B.R. Bhagwat - Mahabharata.azw3
(20673 KB)
B A Paris - Behind Closed Doors_nodrm.epub
(2167 KB)
Inne foldery tego chomika:
@other-lang
@packed
0
1
2-1
Zgłoś jeśli
naruszono regulamin