Saturday, December 28, 2013

iOS Tutorial - Part 2 - Hello World app

Download finished project here: Google Drive Download Link

Creating "Hello World" app for iPhone & iPad

Video Description
  1. Follow the Previous post to download the X-code
  2. Open X-Code and from the left hand side of the opening window, click on "Create a new Xcode project"
  3. Select "Single View Application" and hit next button
  4. Give your application a name in "Product Name" field and also your organization (if any)
  5. "Company Identifier" is an identifier that Apple uses to make a unique identifier for you application. Usually you can reverse your company URL and put it for this field (ex. com.myurl.www)
  6. From "Devices" drop down menu you can select the device that you are planning to develop an application. Universal means for both iPhone and iPad. For this application select Universal
  7. Then It asked for the location of the project. Select a location that you want to save the app
  8. When it creates the application, you can see three different area (right sidebar, main view and left sidebar)
  9. From left sidebar, under your project name in yellow folder click on "Main_iPhone.storyboard". You should see a rectangle, which represents the iPhone view
  10. At very bottom of the right sidebar, there is a search field. In that search field, search for "Label". It will show the results above the search field
  11. Drag and drop a Label from object library to the iPhone view
  12. Double click on the label that you added to the iPhone view and change the text to "Hello World"
  13. From upper left corner of the X-Code click on Play icon or hold command key on keyboard and press R to run the application
Download finished project here: Google Drive Download Link

No comments:

Post a Comment