Smartphone Development iOS Development: Hello World! in Xcode |
In this article, I will show how the standard “Hello World!” application can be developed in the iOS framework. In this tutorial, I will be using Xcode 4.1 to develop this simple example. Therefore, the screenshots and code that will be supplied with it will apply specifically to that version of Xcode.
After you have created the project, the main Xcode window should appear. Open the file “HelloWorldAppTutorialAppDelegate.m” and insert the following code into the didFinishLaunchingWithOptions method.
Finally, run the program in the iOS Simulator using the “Run” option in the upper left-hand corner of the main Xcode window. The output of the simulator should resemble this the following image:
blog comments powered by Disqus |