How To Create Hello World App In Swift iOS

Posted By : Manu Gupta | 30-Dec-2014

Hello World App Swift

Swift is a new programming language for iOS and OS X apps that builds on the best of C and Objective-C, without the constraints of C compatibility. Swift adopts safe programming patterns and adds modern features to make programming easier, more flexible, and more fun. Swift’s clean slate, backed by the mature and much-loved Cocoa and Cocoa Touch frameworks is an opportunity to reimagine how software development works

 

Tradition suggests that the first APP in a new language should print the words “Hello, world!” on the screen. In Swift, we will guide you through the process.

 

  • Step 1 : Open Xcode.
  • Step 2 : Create a new Xcode Project.
  • Step 3 : Select single view application.
  • Step 4 : Enter the details of your app
    Product Name : helloWorld
    language: Swift
  • Step 5 : Go to main storyboard.
  • Step 6 : Now open the utilities.
  • Step 7 : Go to object library.
  • Step 8 : Look for label and then drag it onto the view controller.
  • Step 9 : Now resize the label according to your wish and on double enter the text “ Hello World!”
  • Step 10 : Now click on build and run icon and BOOM! your app is running.

Thanks and feel free to contact for any queries.

About Author

Author Image
Manu Gupta

Manu is a Native iOS (Swift) and Titanium lead developer . Manu has good experience working with Swift and Alloy framework as well. He loves watching movies and travelling.

Request for Proposal

Name is required

Comment is required

Sending message..