iOS Development for Beginners

Hi Nerds

So welcome to the world of objective-C, your future favorite programming language. With just a two year experience, as a iOS developer it has been a Roller-Coaster ride for me with iOS development and I had some thrilling slides, smooth sight-seeings, slow-uprising of my iOS applications. Hope i will give you some tips to become a comfortable and pro-active iPhone/iPod/iPad developer.

If you are really reading this then you should definitely know some programming language at a very basic level. If the answer is “C” then you will be a Rockstar here. Some of the other techie words that you should get familiarize with are the OOPS concepts, MVC patterns and IDE’s.

Assuming you are pro in the above mentioned techs. I would like you to jump into the Apple world. There are two rules which you should obey when you start developing iOS applications

1. Buy/Borrow/Own/Steal/Rent a Mac machine

2. Buy/Borrow/Own/Steal/Rent a iPhone/iPod Touch/iPad device

Without a mac machine you can’t develop a native iOS app(of-course you can go hybrid but thats not your focus now newbie) as Xcode is the only tool for developing iOS apps and it is available only for mac OS. Without a device to test is always a risk. So obey the two rules.

You got everything you got start learning. I would like to suggest you to see as many video tutorials than the normal text blogs. Lynda.com provides some of the best video tutorials with very simple and clear explanations of iOS and Xcode. Apart from that the best is to learn from the people who created it. Apple Documentations are the best  for any clarifications or doubts.

Try to take a simple idea and create the application for that to learn. Learning each feature separately is not going to help. Take a simple idea that has some of the basic controls and start completing that project so that you have a complete app. My idea would be trying these basics in a single app.

  • Textfield validations
  • Button, Label, View creations
  • Transition of views from one screen to other
  • Passing data to next screen
  • Sqlite DB operations
  • Tableview Creations and manipulations
  • Delegates

As a starter you don’t  need to be so choosy for glassy interface for your app. While things go on you will be familiar with the user interface so do not worry about it now.

If you are stuck up on middle of a bug/isssue and apple documentation doesn’t solve your issue then go posting your question on Stackoverflow. Be neat, simple and clear on the question you are going to ask provide sample code in that and acknowledge the person who is trying to answer your question. Your hours and days effort will be minimized into seconds and minutes. If you become pro someday you can answer the questions posted by other developers as I do now. Thats me in SO.

RayWenderlich is a good team of iOS coders provide very easy and simple tutorials with sample code for some commonly used functionalities. Feel free to browse through their tutorials.

Appsamuck is site that provides open source iOS projects for free. You can download and play with those codes and feel the awesomeness in you by experimenting in it.

So welcome to the iOS.

How to show-off your new Macbook to your Friends

Everyone from our small age we have seen the windows xp, vista and windows 7. By far we have known that the giant is the Microsoft and Apple is always below when comparing to OS and easy usability. But after the reach of iDevices the iPod, iPhone and iPad, Apple became so smart in bringing a very user-friendly computing devices.

As a iPhone app developer working with mac in my office i got obsessed with it. I own a Dell XPS power packed laptop but always wanted a mac in my life. So saved a lot of money and bought a new Macbook pro.

After seeing that piece of cutting edge sillicon material outside i was amazed. So with a smirk in my face i opened the package saw the beauty sitting like a silent child inside the cage. I got familiarized with it and started showing-off to my friends who think Apple is not their friendly Non-Living-Thing.

1. Ask your friend to take the charger and plug the charger into the socket. With the magnet it pulls the charger socket easily and sets the charger in the place perfectly. There you go strike 1.

2. With the new Lios OS everything is gestures and animations. So now open Photobooth and touch the maximize button. Wo whoo a smart sleek animation which expands the window to fullscreen is so kool to watch out.

3. Now tell your friend that ‘Lets take a photo’. Click the photo icon in Photobooth app. Its starts the counter 3 2 1 and there is a flash in the screen which shows a white screen with full brightness for a split second and you have a clear photo taken. Pretty Impressive huh.

4. So now open as many applications like calendar, mail, iPhoto, Garageband, iMovie, Safari in fullscreen. Now tell your friend that now i am going to switch applications. Slide down your four fingers from left to right or right to left. Within less than a second you can switch to any app with that gesture. Now is the time to watch your friends face!!

5. Open Safari and browse through some 5 and above pages in a single tab. Now you wanna go back to previous page. Instead of clicking on back button slide the page by dragging two fingers on your touchpad a smooth transition shows the previous page. Within a second you can pass through the array of pages you visited with safari storing the pages in cache for sometime so that the page doesn’t reload.

6. Now shutdown you system. It takes almost 8-10 seconds for shut-downing which is 50% faster than windows machines.

7. Switch of all lights in your room. Open your macbook increase the keyboard light. Now your key glows with a white light so that it is easy to type when you are in a dark environment.

8. Open iPhoto App. Zoom in and zoom out pictures using the pinch gesture from your touchpad.

9. If you have a iPod or iPhone or iPad then you can amaze your rookie friends by the use of iCloud. Set iCloud on your device as well as on your macbook and connect both of them to internet. Now Take a foto from your iPhone/iPod/iPad you keep your device down open iphoto in your mac. Now show your friend the photo taken just 10 seconds ago which got clouded and rained your mac.

10. Finally take a screenshot of your mac and post it in Facebook and Twitter as I have done.

and thats the way to show-off with your macbook. Go nuts!!!