About IT and Sports

My Web development experiences and sports encounters

Flower

Posts Tagged ‘views’

IPhone Hello world – Getting started

Today I made my first IPhone app. It was only a Hello World app, but it always feels nice when you try something different. In this case Objective-C for the ios platform. I got my app to open a new view from a button click and change a label to display the current date and time also after a button click.

Some getting started tips.

To get going you need to download the IDE apple provides for ios and osx development: Xcode. Go to the iOS Dev Center, create an apple account. Download and install Xcode and iOS SDK. This website has tons of documentation and also a good Getting started section.

The Hello World app I made was completely programmatic. I used the following guidance:
http://knol.google.com/k/iphone-sdk-helloworld

You can also use the Interface Builder (which comes with Xcode) to create buttons, label and other interface components. To handle the IDE, you need to read to following user guide to understand how this works.

If you want to create your own Hello World, you will want to play arround with buttons and labels. It is wise to understand how views work. Check out the View Programming Guide.