iOS is an Apple’s mobile operating system. This operating system is initially developed and used in iphone, later iOS is used in all apple devices like iphone, ipad and apple TV.
Name iOS is used by CISCO for its router operating system, then apple got the trademark of “iOS” for their iphone operating system. iOS is restricted to use in non apple devices.
We can develop the iOS applications, there are plenty of 3rd party iOS development tools are available.
- First of all you need Apple machine(Mac OS) to compile and run the ios programs
- You have to signup as Apple developer for free, at the time of launching a new application you have to pay $99 dollars. Apple developer registration
- Registered apple developers can only able to get latest SDK files, library files, iphone simulators for their application developement
After registered as a apple developer, the following webpage will be shown up.
The following resources are only for apple developers, Choose iOS from Dev Centers option. By selecting this option it will redirect you to the below page.
Download Xcode 4 to develop the apple applications, by using this tool we can easily create the iOS programs. Their is a plenty of options and helps are available for new developers. Xcode4 will have the recent IDE ifles, simulators for iphone.
To launch the application world wide, we need to signup with premium account of $99 worth. By paying only our app will be shown up in apple market (website)
iOS Code for Simple program “Hello Tobby”
The following program will display “Hello Tobby” as output in apple devices.
CGRect frame = CGRectMake(10, 10, 300, 25);
UILabel *hellotobby = [[UILabel alloc] initWithFrame:frame];
hellotobby.text = @”Hello tobby!”;
hellotobby.textColor = [UIColor blueColor];
hellotobby.textAlignment = UITextAlignmentCenter;
UILabel *hellotobby is used to create new object “hellotobby”
[self.view addSubview:hellotobby]; will display the label.
Test this above code on your apple devices.