There are many way to write “Hello World” program in iphone. But we’ll show you how to work with Interface Builder. This is a very simple example. Just try it.
Step 1: Open Xcode and Creating a new View-Based Application. Do this by clicking on
File > New Project. Make sure that Application is highlighted under iPhone OS and selectView-Based Application. Name this project HelloWorld.
Figure 1: Setting for your project.
Step 2: Double click the Hello_WorldViewController.xib. This will open that file in interface Builder. Select Label in the Library, and drag it to the view window.Let’s edit the Label, double click the label you just created and type the text Hello World. Then Save and go back to Xcode .
Figure 2: Adding a Label to your application’s View window
Step 3: Go ahead and click Build and Go again to launch the iPhone Simulator. Your screens should look something like this:
You can downloaded SourceCode from here HelloWorld 2
The 9 Best Programming Languages To Learn In 2020
10 Best Programming Languages to Learn in 2019 (for Job & Future)
9 Popular Cross-Platform Tools for App Development in 2019
10 Reasons to Learn Python Programming Language in 2019
20 Best iOS App Development Tutorials and Online Learning Resources
Top 15 Best Android Apps For C Programming | 2018 Exclusive
The Best 15 Mobile Game Development Platforms & Tools in 2018
10 Amazing & Best SEO Tools You Must Try in 2018