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

- Is Facebook Working on a Branded Smartphone?
- Apple iOS 6 Packed With Features
- Finally, Ubuntu OS for Smartphones?
- App Developers Offer Thoughts on Windows Pho...
- App Promo Survey Displays Developer Struggles
- Apptopia Market Helps Developers Recoup Inve...
- Is Fragmentation a Plus for App Developers?
- Juniper Networks: Android App Malware Increa...
- Developer's Losing Interest in Android?
- Android Developers Pushed Towards Google Wal...
- Google Increases Android App Size Limit
- ATandT To Charge App Developers, Android Lac...
- Android Slipping in App War versus Apple
- Apple and Google Battle to Clean Up App Mark...
- iOS Development: Hello World! in Xcode Part 2

Developer Shed Affiliates

 



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

Dev Shed Tutorial Topics: