HAPPY BOOKSGIVING
Use code BOOKSGIVING during checkout to save 40%-55% on books and eBooks. Shop now.
Register your product to gain access to bonus material or receive a coupon.
Covers iOS 7 and Xcode 5
Learning iOS Developmentis the perfect first book for every new iOS 7 developer. It delivers a complete foundation for iOS development, including an introduction to the Objective-C language, Xcode development tools, best-practice user interface development, and best practices for all aspects of app development and deployment.
Throughout Learning iOS Development, you explore the iOS development process as you create and expand a handy car valet app. The hands-on projects enable you to create meaningful code as soon as possible, building confidence and mastery. The annotated code listings work with all the latest iOS technology, so you’ll be ready to jump into this exciting development field.
With Learning iOS Development, it’s easy to learn at your own pace, on your own--or to deepen the knowledge you may be gaining in a classroom or workplace.
Coverage includes
My Life in Tech: Q&A with Developer Erica Sadun
Please visit the author's website at http://mauricesharp.com/Learning-iOS-Development
Access the source code at https://github.com/mauricesharp/Learning-iOS-Development
Hello, iOS SDK: Introducing the iOS Software Development Kit
Download the sample pages (includes Chapter 1 and Index)
Foreword xvi
Preface xx
Chapter 1: Hello, iOS SDK 1
Installing Xcode 1
About the iOS SDK 2
What You Get for Free 3
iOS Developer Program (Individual and Company) 4
Developer Enterprise Program 4
Developer University Program 5
Registering 5
iTunes U and Online Courses 5
The iOS SDK Tools 6
Testing Apps: The Simulator and Devices 7
Simulator Limitations 8
Tethering 10
iOS Device Considerations 11
Understanding Model Differences 15
Screen Size 15
Camera 16
Audio 16
Telephony 16
Core Location and Core Motion Differences 17
Vibration Support and Proximity 17
Processor Speeds 17
OpenGL ES 18
iOS 18
Summary 19
Chapter 2: Objective-C Boot Camp 21
Building Hello World the Template Way 21
Creating the Hello World Project 21
A Quick Tour of the Xcode Project Interface 25
Adding the Hello World Label 28
Objective-C Boot Camp 30
The Objective-C Programming Language 31
Classes and Objects 35
The CarValet App: Implementing Car Class 41
Implementing Car Methods 46
Properties 50
Creating and Printing Cars 53
Properties: Two More Features 55
Custom Getters and Setters 56
Subclassing and Inheritance: A Challenge 58
Inheritance and Subclassing 59
Summary 62
Challenges 63
Chapter 3: Introducing Storyboards 65
Storyboard Basics 65
Scenes 66
Scene 1: Creating the Add/View Scene 67
Adding the Add/View Visual Elements 67
Adding the Initial Add/View Behaviors 72
Adding Car Display Behaviors 82
Adding Previous and Next Car Buttons 86
Scene 2: Adding an Editor 89
Adding the Editor Visual Elements 91
Adding Editor Behaviors 94
Hooking It All Together 98
Why Not Segue Back? 106
Improving the Storyboard: Take 1 107
Exchanging Data Using a Protocol 108
Improving the Storyboard: Take 2 112
Summary 115
Challenges 116
Chapter 4: Auto Layout 117
Auto Layout Basics 117
Constraints 120
Perfecting Portrait 131
Thinking in Constraints 132
What Makes a Complete Specification 133
Adding/Viewing Cars: Designing and
Implementing the Constraints 134
Edit Car: An Initial Look 155
Adding Landscape 156
Adding and Viewing Cars: Designing