About IT and Sports

My Web development experiences and sports encounters

Flower

Posts Tagged ‘iphone’

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.

Upgrade to WordPress 3.0 and iPhone access

For some time now I wanted be able to make posts on my blog through my iPhone. No particular reason, I just seemed cool to me. I decided to make my blog accessible for mobile devices and found some plugins which make this possible. I noticed that WordPress 3.0 was out so I decided to upgrade WordPress as well. I made some backups and downloaded the zip file. Diasabled my plugins and copied the extracted zip to my hosting server. Keep the wp-content folder in tact, only overwrite the files and subfolders which came with the zip file. Next login to the backend and let wordpress patch your database. Activate you plugins again and you’re done.

Looking into iPhone accessibility I found out that there is a Worpress app in the app store. I quickly installed and started writing this post from my iPhone. Although type is a lot slower, it is just fun.

I also wanted to make the frontend more accessible for mobile browsers. I installed the plugin WordPress PDA & iPhone. I gives a simple but effective interface to your blog. I am all happy now :)