iOS Xcode Installation
1. From https://developer.apple.com/downloads/ Download the latest version of Xcode.
2. Double-click the Xcode dmg file
3. Install and open the device you find
4. Two items will appear in the displayed window: the Xcode application and a shortcut to the Applications folder
5. Drag Xcode and copy it into Applications
6. Select and run the program in Applications; Xcode will also become part of the running programs
You can also download Xcode from the Mac App Store and follow the on-screen installation steps
Interface Builder
Using the Interface Builder tool, you can easily create a UI interface.
You can use a range of UI elements and drag them into the visual UI.
On the next pages we will learn how to add user interface elements, create outlets, and work with UI elements.
The object library below contains all the necessary UI elements. User interfaces are commonly called xibs, which is their file extension.
Each xib is linked to a corresponding view controller.
iOS Simulator
The iOS Simulator actually includes two types of devices, namely iPhone and iPad, and their different versions.
iPhone versions include iPhone (regular), iPhone Retina, iPhone5, iPhone53.
Ipad includes iPad and iPad Retina. The iPhone simulator is shown below:
You can run the iOS Simulator with a location defined by longitude and latitude to affect your application, and you can also simulate memory warnings and call states in the simulator.
The simulator can be used for most purposes, but it cannot test device features like the accelerometer. Therefore you may need an iOS device to test all aspects of an application.