iPad iOS 6 Development Essentials i iPad iOS 6 Development Essentials – First Edition ISBN-13: 978-1480191297 © 2012 Neil Smyth. All Rights Reserved. This book is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited. All rights reserved. The content of this book is provided for informational purposes only. Neither the publisher nor the author offers any warranties or representation, express or implied, with regard to the accuracy of information contained in this book, nor do they accept any liability for any loss or damage arising from any errors or omissions. This book contains trademarked terms that are used solely for editorial purposes and to the benefit of the respective trademark owner. The terms used within this book are not intended as infringement of any trademarks. Rev: 1.0 ii Table of Contents 1. About iPad iOS 6 Development Essentials .............................................................................................. 1 1.1 The iOS 6 SDK ...................................................................................................................................................... 1 1.2 For New iOS Developers ...................................................................................................................................... 1 1.3 For iOS 5 Developers ........................................................................................................................................... 2 1.4 Source Code Download ....................................................................................................................................... 3 1.5 Feedback ............................................................................................................................................................. 3 1.6 Errata ................................................................................................................................................................... 3 2. The History of iOS ................................................................................................................................. 5 3. Joining the Apple iOS Developer Program.............................................................................................. 7 3.1 Registered Apple Developer ................................................................................................................................ 7 3.2 Downloading Xcode and the iOS 6 SDK ............................................................................................................... 7 3.3 iOS Developer Program ....................................................................................................................................... 7 3.4 When to Enroll in the iOS Developer Program? .................................................................................................. 8 3.5 Enrolling in the iOS Developer Program .............................................................................................................. 8 3.6 Summary ............................................................................................................................................................. 9 4. Installing Xcode 4 and the iOS 6 SDK ................................................................................................... 11 4.1 Identifying if you have an Intel or PowerPC based Mac .................................................................................... 11 4.2 Installing Xcode and the iOS 6 SDK .................................................................................................................... 12 4.3 Starting Xcode ................................................................................................................................................... 12 4.4 Summary ........................................................................................................................................................... 12 5. Creating a Simple iPad iOS 6 App......................................................................................................... 13 5.1 Starting Xcode ................................................................................................................................................... 13 5.2 Creating the iOS App User Interface ................................................................................................................. 17 5.3 Changing Component Properties ...................................................................................................................... 19 5.4 Adding Objects to the User Interface ................................................................................................................ 19 5.5 Building and Running an iOS App in Xcode ....................................................................................................... 20 5.6 Dealing with Build Errors ................................................................................................................................... 21 5.7 Testing Different Screen Sizes ........................................................................................................................... 21 5.8 Summary ........................................................................................................................................................... 21 6. iOS 6 Architecture and SDK Frameworks ............................................................................................. 23 6.1 iPhone OS becomes iOS..................................................................................................................................... 23 6.2 An Overview of the iOS 6 Architecture.............................................................................................................. 23 6.3 The Cocoa Touch Layer ...................................................................................................................................... 24 6.3.1 UIKit Framework (UIKit.framework) .......................................................................................................... 24 6.3.2 Map Kit Framework (MapKit.framework) .................................................................................................. 25 6.3.3 Push Notification Service ........................................................................................................................... 25 6.3.4 Message UI Framework (MessageUI.framework) ...................................................................................... 26 6.3.5 Address Book UI Framework (AddressUI.framework) ............................................................................... 26 6.3.6 Game Kit Framework (GameKit.framework) ............................................................................................. 26 6.3.7 iAd Framework (iAd.framework) ............................................................................................................... 26 6.3.8 Event Kit UI Framework (EventKit.framework) .......................................................................................... 26 iii 6.3.9 Accounts Framework (Accounts.framework) ............................................................................................ 26 6.3.10 Social Framework (Social.framework) ..................................................................................................... 26 6.4 The iOS Media Layer .......................................................................................................................................... 27 6.4.1 Core Video Framework (CoreVideo.framework) ....................................................................................... 27 6.4.2 Core Text Framework (CoreText.framework) ............................................................................................ 27 6.4.3 Image I/O Framework (ImageIO.framework) ............................................................................................ 27 6.4.4 Assets Library Framework (AssetsLibrary.framework) .............................................................................. 27 6.4.5 Core Graphics Framework (CoreGraphics.framework) .............................................................................. 27 6.4.6 Core Image Framework (CoreImage.framework) ...................................................................................... 27 6.4.7 Quartz Core Framework (QuartzCore.framework) .................................................................................... 27 6.4.8 OpenGL ES framework (OpenGLES.framework) ........................................................................................ 27 6.4.9 GLKit Framework (GLKit.framework) ......................................................................................................... 28 6.4.10 NewsstandKit Framework (NewsstandKit.framework) ............................................................................ 28 6.4.11 iOS Audio Support .................................................................................................................................... 28 6.4.12 AV Foundation framework (AVFoundation.framework) .......................................................................... 28 6.4.13 Core Audio Frameworks (CoreAudio.framework, AudioToolbox.framework and AudioUnit.framework) ...........................................................................................................................................................................
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages57 Page
-
File Size-