𝔖 Scriptorium
✦   LIBER   ✦

📁

iPhone App Development: The Missing Manual

✍ Scribed by Craig Hockenberry


Tongue
English
Leaves
342
Edition
1
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Anyone with programming experience can learn how to write an iPhone app. But if you want to build a great app, there's a lot more to it than simple coding: you also need to know how design and market your creation. This easy-to-follow guide walks you through the entire process, from sketching out your idea to promoting the finished product. Get to know the tools for developing your iPhone app Design a great app before you start coding Build a complex app with Xcode and Interface Builder Decide how to brand your app-then beta-test that brand in the real world Learn the inside scoop on how to get your app into the App Store Promote your product, track sales, and build a strong customer following Update Your App for Multitasking with iOS 4 By Craig Hockenberry On multitasking phones like the iPhone 3GS and iPhone 4, you can make it so your application doesn’t quit when the user presses the Home button. Instead, the app just goes into the background and reappears just as it was with a tap on its icon. You can give your app multitasking powers without writing a single line of code! First, download and install the free iOS 4 SDK from Apple’s iPhone Dev Center. You need both Xcode 3.2.3 and iPhone SDK 4 to create an app for iOS 4. (By the way, you may see the SDK described as either “iOS SDK” and “iPhone SDK.” They mean the same thing.) Now you’re just a few steps away from a multitasking app: 1. Open your iPhone app project in the new version of Xcode, and then choose Project > Edit Project Settings to update your project settings. 2. In the General tab, change the Base SDK for All Configurations from “iPhone Device 3.0 (missing)” to “iPhone Device 4.0.” 3. In the Build tab, set the Configuration to “Release” and enter a search for “target.” You should now see the following: In the Architecture section, the “Base SDK” setting is now “iPhone Device 4.0,” which means that Xcode will build your app with the iOS 4.0 SDK. In the Deployment section, you'll see “iPhone OS Deployment Target.” This setting defines the oldest version of the iPhone OS where you want your app to be able to run. If your app used to run on version 3.0, you can change this setting to “iPhone OS 3.0.” Now you can build your app in the usual way and test it on an iPhone. You may want to make one further refinement, since the iPhone may terminate multitasking apps when the OS or another app needs more memory. To reduce the chances of your app getting purged from memory, clear out any caches or other data that can easily be reconstructed. Luckily, the system notifies your app when it puts the app into the background: that’s your chance to clear out this temporary memory. It’s also a good time to save any state or other information that you’ll use the next time your application is launched. You can capture the notification in one of two ways: through a - applicationDidEnterBackground: method in your application delegate or by registering for the UIApplicationDidEnterBackgroundNotification in your view controllers. If you’re saving application-wide information, the delegate is the best choice. If you need to keep some of your controller’s model data, the notification is usually easier. You can use both techniques if necessary. For more information on multitasking in iOS 4, check out “Supporting Multitasking In Your Applications” in the iPhone Dev Center.

✦ Table of Contents


Table of Contents......Page 7
Introduction......Page 19
The Missing Credits......Page 13
Part One: Getting Started with Cocoa Touch......Page 25
Getting the Tools......Page 27
Installing Xcode......Page 28
Getting the iPhone SDK......Page 30
What Lies Ahead for the SDK?......Page 33
Exploring Your New Tools......Page 35
Every Flashlight Needs a Parts List......Page 36
Some Assembly Required......Page 40
Taking It for a Run on Your Mac......Page 41
Revision Decision......Page 43
The Power of Brackets......Page 47
The Land of Square Brackets......Page 48
The Object of It All......Page 49
Telling Your Objects to Do Things......Page 50
Masses of Classes......Page 51
Classes in Detail......Page 52
The Methods Behind the Madness......Page 55
Categorically Speaking......Page 56
Implementation: The Brains Behind the Beauty......Page 57
Creating New Classes......Page 59
Managing Memory......Page 61
Take a nil Pill......Page 63
Autorelease with Ease......Page 64
Properties and Dots......Page 66
Methods of Class......Page 67
Initializing Objects......Page 68
Deallocation Location......Page 69
Loops: For Better or For Worse......Page 70
Your Exceptional Code......Page 71
Learn by Crashing......Page 72
Selector Projector......Page 75
Show Your id......Page 76
Developer Documentation......Page 79
Learn to Be Lazy......Page 82
Get in Cocoa Touch......Page 83
The Big Three: Models, Views, Controllers......Page 84
Models......Page 85
Controllers......Page 86
Let’s Get Primitive......Page 87
Objectified......Page 88
Collections......Page 91
Copying in Depth......Page 92
Mutable Versus Immutable......Page 93
Make It Mutable......Page 94
Protect Your Data......Page 95
Delegation and Data Sources......Page 96
Targets and Actions......Page 98
User Interface: The Hard Way......Page 99
User Interface: The Easy Way......Page 104
Notifications......Page 115
Singletons as Globals......Page 118
Where to Go from Here......Page 119
The Language of Design......Page 120
Why Call in a Designer?......Page 121
Design Goals......Page 122
What’s Unique about iPhone Design?......Page 123
The Design Process......Page 125
Living in Harmony with Your Designer......Page 129
The Providers of Feedback......Page 131
Bigger, Stronger, Faster......Page 133
The Light Side......Page 134
The Flip Side......Page 135
Technical Design: Between Pictures and Code......Page 136
Start Naming......Page 137
Ready to Code!......Page 139
Part Two: Development
in Depth......Page 141
Beyond the Template......Page 143
Change Project Settings......Page 144
Change Target Settings......Page 145
Build Settings......Page 150
Duplicity......Page 152
Join the iPhone Developer Program......Page 153
Open the Door......Page 154
When It Fails......Page 169
Ready to Roll......Page 172
A Guided Tour......Page 173
Open the Guide Book......Page 174
Flashlight_ProAppDelegate......Page 175
NIB Files: Something to Look At......Page 176
MainWindow.xib......Page 177
MainView.xib......Page 178
View Sizing......Page 180
Autoresizing......Page 181
SettingsView.xib......Page 183
AboutView.xib......Page 186
LightView......Page 187
IFInfoView......Page 192
UIColor+Brightness......Page 201
UIView+Concealed......Page 202
SOSModel......Page 208
FlashlightModel......Page 210
MainViewController......Page 212
SettingsViewController......Page 219
AboutViewController......Page 222
Localizable.strings......Page 224
Wrapping It Up......Page 227
Part Three:
The Business End......Page 229
Your App Works for You…But......Page 231
Ad Hoc & Roll......Page 233
Beautification Committee......Page 245
Speaking in Tongues......Page 246
The Site......Page 247
App Store, Here You Come......Page 250
Welcome......Page 251
First Order of Business......Page 252
Export Compliance......Page 256
Overview......Page 257
Ratings......Page 262
Upload—Show It Off......Page 263
Pricing—Pick Your Price......Page 266
Localization......Page 267
Tweak It......Page 268
Metrics......Page 270
Competition......Page 273
Two Developers, One Store......Page 274
Pricing Strategies......Page 276
Try Before You Buy......Page 277
The Final Profile......Page 279
The Final Build......Page 280
The Final Upload......Page 281
The Final Test......Page 282
App Review......Page 283
Make Sure You Haven’t Broken Any Rules......Page 284
Coping with Rejection......Page 285
Ready for Sale......Page 286
Launch Day......Page 287
Tracking Sales......Page 289
Daily Reports......Page 290
Monthly Financial Reports......Page 293
Advertising and Promotion......Page 294
Find a Mouth......Page 295
Social Networking: Word-of-Mouth on Steroids......Page 296
The Big Bang......Page 299
Online Advertising......Page 301
Promotion Codes......Page 305
Sale Prices......Page 307
Plotting It Out......Page 308
Monitor Coverage......Page 309
Crash Course......Page 316
Dealing with Support Email......Page 317
New Info......Page 318
Welcome Back, iTunes......Page 319
Upgrades (or Lack Thereof)......Page 320
Congratulations!......Page 321
Part Four: Appendix......Page 323
Where to Go from Here......Page 325
Index......Page 333


📜 SIMILAR VOLUMES


iPhone App Development: The Missing Manu
✍ Craig Hockenberry 📂 Library 📅 2010 🏛 Pogue Press 🌐 English

This book covers the ins and outs of development for the iPhone environment and does that well. Where I feel it really excels is where it covers the areas that immediately surround the development, the parts that aren't just "how to write the code and use the libraries". The options that are avail

IPhone App Development: The Missing Manu
✍ Craig Hockenberry 📂 Library 📅 2010 🏛 O'Reilly Media 🌐 English

Anyone with programming experience can learn how to write an iPhone app. But if you want to build a great app, there's a lot more to it than simple coding: you also need to know how design and market your creation. This easy-to-follow guide walks you through the entire process, from sketching out yo

iPhone App Development: The Missing Manu
✍ Hockenberry, Craig 📂 Library 📅 2010 🏛 Pogue Press 🌐 English

Introduction By the time you read this, the number applications on the App Store will have crossed the 100,000 mark. Chances are that if you come up with an idea for an app, it's already on the Store and in abundance. In order to catch users' interest, you'll have to differentiate yours. Most develo

iPhone App Development: The Missing Manu
✍ Craig Hockenberry 📂 Library 📅 2010 🏛 O'Reilly Media 🌐 English

Ready to create your own iPhone app? This book walks you through the entire iPhone app development process. You'll learn how to download the tools, build the app, successfully navigate Apple's approval process, and then market and maintain the finished product. Written by Mac guru Craig Hockenberry,