Hello World to iOS Development

Howdy techies.

I had been thinking, since long, about starting to write about the new things i learn every day, but my lazy ass never helped me to sit on it and do so 😀 As i currently work as an iOS developer, i would like to start with some tutorials & tips-tricks that i use on daily basis to keep my code clean & efficient.

First, each one of you planning to start on iOS development should know some basic things about the platform (which are somehow forced by its father – Apple Inc.). iOS development environment is made for Mac (not MAC) only and cannot run on a Windows based machine. Although there are some alternatives like – buy a legitimate Mac OS and put it on VMWare on Windows OR do a hackintosh and make your PC a dual boot / external HDD boot for Mac OS but generally they dont give the due power and frustrations come Free Free Freee 🙂

For the setup, you will need a Mac machine (Macbook  / Pro , iMac, Mac Mini, Mac Pro) with Intel based architecture running a Mac OS version 10.6.3 or later (you can choose the hardware here). The XCode IDE with iOS SDK 4.0 or later (which can be downloaded here).

Not to forget, and the most important of all, a fully functional human brain ! wink..

Voila.. The setup is complete for now but it is highly recommended that you should have an iPhone/iPod touch also as the simulator does not give you the actual experience of how your code will behave on the device.

At a later stage, when you are done creating your application, you will have to buy a Standard/Enterprise iPhone Developer License in order to publish your app on the App Store (or within your organization). The license will be valid for 1 year only, so personally i think that the developers should apply for it only when your application is almost ready as otherwise, the initial 1 month or so will be waisted on understanding and development and you will not be using your developer license.

Once you have downloaded & installed the XCode IDE on your machine, open XCode (I generally do it by pressing Cmd+Space and type Xcode and select the XCode app and press Enter (or Return)).

If the XCode is the current open application, the status bar (on the top of your screen) is shown like this

XCode status bar

Go to File > New Project > Navigation based Project and press ‘Choose’ button.

Give a Name to your app and choose where to save it, then press ‘Save’.

[I am not putting the screenshots for this as it is a very simple & direct procedure]

Congratulations, the app is ready !!

Just press ‘Build & Go‘ button on the window and the iPhone Simulator will come up showing an empty table and a blue colored ‘Navigation Bar’ on top.

Stay tuned for upcoming tutorials & tips for best practices on iOS development.


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