Introduction To Xcode

H=Header M=Im View controller= viewmode

Today I learnt the fundamentals of Xcode. We started off with simply making a single view application, which a type of starting template for XcodeScreen Shot 2015-10-12 at 10.22.23
The next step was to choose what language to use. I used Objective.C and then named my Project.Screen Shot 2015-10-12 at 10.23.46 When creating an app its a good idea to research the features and decide what version of iOS the user needs to have. After Deciding what version you want to use you can select it in this menu. At the bottom there is a option to choose an extra Frameworks and libraries. This is basically a way to add extra preset modification to your app. In this test run i added MapKit and CoreLocation Frameworks. These added a map and a way to find your location on the app. later on the use of this would come into play. This is your final step in creating your app template, as well as choosing where to save it of course.

Screen Shot 2015-10-12 at 10.26.48
Screen Shot 2015-10-19 at 09.42.33Screen Shot 2015-10-19 at 09.42.59

After creating my template i learnt about the simple folders that are inside a view controller. These are known as “ViewController.h,ViewController.m and Main.storyboard”.

Screen Shot 2015-10-12 at 10.29.18

The “ViewController.h (which stands for header) is basically an index for your code That kinda points to everything that needs to be run. The “ViewController.m” is basically where your app executes all your code. The “Main.storyboard’ is where you can get a visual representation of your app. I like to look at it like a viewmode.

The next step was to make sure that the “Viewcontroller.h” had imported all the Frameworks i put in earlier.Screen Shot 2015-10-19 at 09.51.19
Screen Shot 2015-10-12 at 10.36.18Screen Shot 2015-10-12 at 10.36.37Screen Shot 2015-10-12 at 10.36.18Screen Shot 2015-10-12 at 10.29.18

To be continued



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s