Datasheet

Chapter 1: Introducing Xcode 4
23
Figure 1.15
Create a very simple iOS app, and test it in the Simulator. The Simulator is best considered an educa-
tional rather than a production environment. It’s adequate for apps with simple text and graphics, but it
doesn’t fully implement the GPS, accelerometer, gyroscope, or other hardware options in iOS devices.
OS X and iOS cross-development
In theory, you can migrate projects between platforms. In practice, Cocoa on OS X and Cocoa
Touch on iOS have so many differences that dual-platform development of a non-trivial appli-
cation is either challenging or unrealistic.
Currently iOS and OS X applications have distinct markets and partially distinct distribution
models. Although a few applications have appeared on both—social networking tools and
games are the most popular choices—Xcode does little to simplify the development of multi-
platform projects.
05_9781118007594-ch01.indd 2305_9781118007594-ch01.indd 23 5/17/11 11:45 AM5/17/11 11:45 AM