Getting Started with Swift [For Beginners]

In this article we are starting to learn about iOS programming with swift

Swift 😮 ??

Swift is a general-purpose, multi-paradigm, compiled programming language created for iOS, OS X, watchOS, tvOS and Linux development by Apple Inc. Swift is designed to work with Apple’s Cocoa and Cocoa Touch frameworks and the large body of existing Objective-C code written for Apple products.

So without looking around these boring stuff we’ll start iOS.

First i would say all these articles are in Version 7.3 of Xcode with swift 2.0

You can download Xcode by the App Store for free and Since the SDK is also coming with Xcode you don’t have much things to do in order to get started quickly.

Starting a project :

Below window will appear whenever you execute the Xcode application and get the projects you’ve been working already by the right side of the window or can create new Xcode project with iOS,tvOS,watch OS or OS X,playground for practice iOS,tvOS or OS X to get existing projects.

We’ll take new project so go through Create a new Xcode project ->

 

Screen Shot 2559-04-19 at 11.00.34 PM

So you’ll get below window.

Here you can select the project according to the device you want and you can select Application for the beginning and you’ll get to know about the Framework and Libraries sooner so you can work with them directly later.

In iOS application there are several templates for us(You can get a idea about each of them with the description) and i’ll take Single View Application for Start these tutorials

Screen Shot 2559-04-19 at 11.10.45 PM

Next ->

So here you’ll get a place to specify your project by giving all the necessary details such as the Product Name etc.

Most important things are the Language you are going to select and the devices.I’m gonna select the swift language and Devices as Universal and no need of selecting the core data and other stuff for the start of this sessions.

Go ahead by Next->

Screen Shot 2559-04-19 at 11.18.45 PM

Probably the application will ask a place to store your project and select wherever you want it and save.Then you are set to go for programming.

These are the main parts of the main window that you’ll get and they are

1 – Navigator Area

2 – Editor

3 – Utility Area

Screen Shot 2559-04-19 at 11.24.15 PM

.storyboard files are the GUIs of your project and .swift files are the core programming files for the project in the Navigator area.

Then we are ready to start SWIFT programming with Xcode 😀

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s