How to Print Hello Word in iPhone or iPad
In this article I will explain the step-by-step process of printing hello world in an iPhone or iPad.
The sample in this article is a very simple program for beginners that provides a good start in iPhone/iPad application development. In this article we can print Hello Word in both the iPhone Simulator or the iPad Simulator.
First search XCode (IDE) in Finder and open it.
In XCode, you will see Create a New XCode Project; click on it.
Now select Single View Application and click on Next.
Now give your Product Name. Here I use Hello Word and Company Identifier Mcn Solutions and click on Next.
Select location where you want to save your project and click on Create.
Now you will see in the XCode Window six Objective C Classes which are automatically generated by XCode.
Here the first two delegate classes, Middle two UiView Controller Class of Objective C and the last two are a Nib file in respect of iPhone or iPad.
Now we code in the View Controller Class and select ViewController.Xib file in Correspondence iPhone or iPad.
To set the alignment click on it.
In Xcode, you will see a Property Window. From it we select Label and use drag and drop to put it on View Correspondence iPhone or iPad.
Here we take label from it.
Now select which platform you want to see the output in.