Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 561 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
561
Dung lượng
15,37 MB
Nội dung
[...]... documentation is excellent and is built into Xcode Let’s make sure that you have the development tools installed If you’ve not already done so, download the iPhoneSDK from http://developer apple.com /iphone You need to sign up as an iPhone developer, but membership is free Membership and the SDK are free It’ll cost you $99 USD to join the iPhone Developer Program, but you’ll need to do that to get a certificate... NTRODUCTION As an iPhoneSDK developer, you don’t need to worry about fragmentation The iPhone and iPod touch are highly predictable, with only a few models thus far and highly consistent features and behavior between them The SDK brings the tools and technologies of Mac OS X—refined by years of use creating world-class desktop applications— and makes its essential elements available for creating iPhone and... the tools and the basic development cycle for the iPhone Our first application is purposefully simple We’re going to build an application that displays the static text “Hello iPhone on the screen You’ll first check that you have all the developer tools you need installed You’ll then use two of them to create and run your application in the iPhone Simulator Because this is an iPhone app, you’ll rotate... G EARING U P Terminology From here on out when we say iPhone, we mean any iPhone OS device So, if you are pushing to an iPod touch, don’t feel left out, because we mean you too If you are coming to the iPhone from another platform—welcome You have undoubtedly used an integrated development environment (IDE) in the past Xcode fills that role for iPhone developers Xcode provides all the features you’d... from my iPhone Report erratum this copy is (P1.0 printing, September 2009) 14 Chapter 1 Introduction The iPhone has changed everything Maybe by the time you read this you’ll no longer notice that the latest cool new phone from every manufacturer looks and behaves more like the iPhone than like the models they used to sell before the iPhone was released Meanwhile, at the time we write this, Apple’s iPhone. .. Under the Active SDK list, choose Device – iPhone OS X (where X is the version installed on the device) Report erratum this copy is (P1.0 printing, September 2009) 33 R UNNING Y OUR A PP ON Y OUR I P HONE If you don’t see this item, you probably have a problem in your developer certificates Log onto the iPhone developer portal site, and review the direction in Obtaining Your iPhoneDevelopment Certificate... applications Report erratum this copy is (P1.0 printing, September 2009) 34 Chapter 3 iPhoneDevelopment Fundamentals Now that you’ve had a chance to get a simple application up and running with the iPhoneSDK tools, let’s take a step back and understand how we got here In this chapter, we’ll take a look at the organization of the iPhone s application stack, how the tools work in relationship to this architecture,... product we know as the iPhone is more than a gadget It is a phenomenon Many of us know news headlines, stock trends, and our day’s schedule before we even get out of bed And thanks to the iPhone SDK, there are more than 50,000 other things we can do, wherever and whenever we want It truly is “your life in your pocket.” When I joined Apple in 2001, there was no App Store, no iPhone, and no iPod Mac... industry that has resulted from the one-two punch of the SDK and the App Store Carriers that had locked down their networks are now racing to open app stores of their own, terrified that every cool new app for the iPhone potentially lures away more of their customers Some mobile developers are going iPhone- only Given the realization that with iPhone users far more likely to download and pay for applications,... So, to be writing an introduction to a book on iPhone development, it would seem I’ve got some explaining to do It really all comes down to one moment in March 2008 I was at a Java conference, skeptically following the web coverage of the iPhoneSDK announcement Few people, myself included, thought we’d get a substantial level of functionality in the SDK and were shocked when what was unveiled was most . broad coverage of all things iPhone SDK, y ou’ll hit the ground running. John Muchow Founder, iPhoneDeveloperTips.com CTO, 3 Sixty Software iPhone SDK Development Building iPhone Applications Bill. y0 w1 h1" alt="" What Readers Are Saying About iPhone SDK Development I love thi s book’s no-nonsense, straig htforward approach to iPhone SDK development. Chris and Bill’s approach is easy to. into iPhone development myself, this is definitely a must-have for my digital bookshelf. Alex Lindsay Founder, Pixel Corps Dudney and Adamson’s book streamlines the process of learning iPhone development