As a courtesy, this is a full free rendering of my book, Programming iOS 6, by Matt Neuburg. Copyright 2013 Matt Neuburg. Please note that this edition is outdated; the current books are iOS 13 Programming Fundamentals with Swift and Programming iOS 13. If my work has been of help to you, please consider purchasing one or both of them, or you can reward me through PayPal at http://www.paypal.me/mattneub. Thank you!

Part VI. Some Frameworks

In addition to the basic UIKit and Foundation frameworks, which supply the fundamental interface and utility classes for all apps, Cocoa supplies numerous optional frameworks that you can use if your app has special needs. This part of the book introduces some of these frameworks and their related topics. At the same time, it necessarily exercises some restraint. To explore all of the additional iOS frameworks in full depth would more than double the size of this book! So this part of the book fully explains the basics, but then stops and leaves you to go further on your own if you need to; it teaches you what you need to know to get started, and it trains you to understand and explore these and related frameworks independently if your app requires a further level of depth and detail.

  • Chapter 27 introduces the various iOS means for playing sound files, including audio sessions and playing sounds in the background.
  • Chapter 28 describes some basic ways of playing video (movies), along with an introduction to the powerful AV Foundation framework.
  • Chapter 29 is about how an app can access the user’s music library.
  • Chapter 30 is about how an app can access the user’s photo library, along with the ability to take photos and capture movies.
  • Chapter 31 discusses how an app can access the user’s address book.
  • Chapter 32 talks about how an app can access the user’s calendar data.
  • Chapter 33 describes how an app can allow the user to compose and send email and SMS messages and social media posts.
  • Chapter 34 explains how an app can display a map, along with custom annotations and overlays. It also talks about how a map can display the user’s current location, geocoding, and communicating with the Maps app.
  • Chapter 35 is about how an app can learn where the device is located, how it is moving, and how it is oriented.