iOS Development Beginner Tutorial 1 - Create a new iOS Project



This is the first Tutorial of a series of iOS Development. Before go deep into iOS Development let's start learning from basics.

iOS Development requires Xcode as the IDE. First of all you have to download Xcode from Apple Developer Website. I'm using Xcode 6.1.1 for this tutorial.


After downloading Xcode, you can install it & then you can see the Xcode icon on the Application List. Once you open Xcode, you can see like this.



Let's create a new Xcode project by selecting Create a New Xcode Project. Then this window comes to the screen & from this screen you can select the type of project you want.



You can choose OS X projects as well. But for this tutorial I'm going to select iOS Application & Single View Application

Then Select Next, from this window you can give your project a name & change some configurations. I named my project as iOSTutoria1.




Then you can select where do you want to save this project & click Create.
Here is the first project screen you can see after creating the project. In the left side of the screen you can see the Project Navigator. In the right side of the screen you can see some other project settings as well.



For first set of tutorials I'm going to use Storyboard method. Main.storyboard is the storyboard of the Application. You can create all of your screens inside the storyboard & connect screens as you want as well.

Storyboard looks like this. As you can see in the bottom right corner of the screen you can add more View Controllers to the project. I'll talk more about View Controllers in next tutorial sessions.



Here I add new View Controllers to the storyboard & this is how it looks like now. But I didn't connect those View Controllers, so if I run the App now, you can only see the top left corner View Controller.



As the last part of the tutorial I'm going to run this application in Xcode simulator & here is that coloured screen come.




Dilum BC Navanjana 
[CIS 2010/2011]
Associate Software Engineer(iOS), 
Creation Application
dilum@creationapplication.com

0 comments :