Home arrow Smartphone Development arrow iOS Development: Hello World! in Xcode

iOS Development: Hello World! in Xcode

This tutorial will teach you how to develop your first "Hello World" application for iOS using Xcode.

By: Richard Bagley
Rating: starstarstarstarstar / 0
January 06, 2012

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

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.

First, start a new project by selecting File > New > New Project. There are several options for project types. For this tutorial, select the “Window-based Application” project type under the “Applications” section.


   
For this tutorial, input “HelloWorldAppTutorial” for the “Product Name” and “None” for the “Company Name” and “iPhone” for the “Device Family”. Later, these fields will be used to define the applications that are developed in a more defined manner. Also, the device family limits the features to those depending on the device you are currently programming for.

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:


 


 
 
>>> More Smartphone Development Articles          >>> More By Richard Bagley
 

blog comments powered by Disqus
   

SMARTPHONE DEVELOPMENT ARTICLES

- Apple and Google Battle to Clean Up App Mark...
- iOS Development: Hello World! in Xcode Part 2
- Android, iOS End 2011 Strong, comScore Repor...
- iOS Development: Hello World! in Xcode
- Mobile Apps Becoming the New King of Media
- Incentivized Apps Fail to Make a Lasting Imp...
- Android Market Surpasses 10 Billion, Apple i...
- Smartphone Ice Cream Sandwich, Android Enter...
- Adobe Promises New Version of Flash for Mobi...
- Young Developers Make a Splash in App Market
- Loss of Adobe Mobile Flash Leaves a Void, or...
- Adobe Ceases Future Development of Flash for...
- RIM, BlackBerry Face an Uphill Climb
- Android Version of NoScript for Firefox Now ...
- Nokia and Microsoft Attempt to Attract Symbi...


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 6 - Follow our Sitemap

Dev Shed Tutorial Topics: