Tutorial : Create First Xcode 6.0 Project iOS 8

Hello friends, New to iOS objective c Programming? Today I am going to show you how to setup or create your first project. This is good startup for those who don’t know what to do in the start, You might be confuse about to choose which template, Following options are available in Xcode 6.1.1

Advertisement
  • Single View Application
  • Master Detail Application
  • Page Based Application
  • Tabbed Application

Choose template

If you are not new you might know, we have no options for creating an empty project, Well I suggest all the newbie’s to create Single View Application. There many advantages of creating an empty project you ca add controllers later you want, the flow is maintained well. Now Empty project is not possible in new Xcode but do not worry we will create an empty project using Single View Application.

Creating Empty Project using Single View Application

  • First create a new Xcode project, Make sure you are on newer version of Xcode.

create a new xcode project

  • Now you will be prompt to choose a template for your new project. Select Single View Application, Make sure you have selected Application from the left selecting panel

Choose single view application

  • Select following options for new first Xcode project.

selection options for your new project

StoryBoard and ViewController

Now this Single View Application includes a storyboard, launchscreen.xib and a View-Controller, As We want our project to be empty, so we will remove these.

remove storyboard launch screen and controller

Solving the Exception

Now when you will run this application you will encounter the following exception

Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘Could not find a storyboard named ‘Main’ in bundle NSBundle

The reason there a is property list defined that the initially launch screen will be called but we have deleted that file so just remove the value of following Property List by going into .infoplist file,( this is very important section of iOS development, you should read about .infoplist file before starting developing any application)

  • Launch screen interface file base name
  • Main storyboard file base name

Original

plist originally

Edited (Remove the value of 2 keys)

Remove Value of key

You might be also interested in

Login With Google iOS tutorial Using Oauth

Login With SoundCloud iOS Tutorial Using Oauth

Login With Tumblr Using oAuth

Login With Foursquare

Login with Vimeo in iOS Development

Login With Twitter

Advertisement

3 Responses

  1. Tutorial : Create First Xcode 6.0 Project iOS 8...

    […] Hello friends, New to iOS objective c Programming? Today I am going to show you how to setup or create your first project. This is good startup for those who don't know what to do in the start, You might be confuse about to choose which template, Following options are available in Xcode 6.1.1 Single View Application Master Detail Application Page Based Application Tabbed Application If you are not new you might know, we have no options for creating an empty project, Well I suggest all the new  […]

    Reply

Leave a Reply