Learning iPhone UI application

I don’t like to use Interface Builder for creating a UI prototype for my apps.
I prefer the old way: draw it on paper and then implement the code.

But…
It takes a lot of time, needs a lot of fixing and every major modification of the UI takes a huge amount of energy.

I just read an interesting post on Cocoa with Love, and I discover an interesting tool to make my life easier:
Now I can create my UI with IB, and the tool will convert it to a .m file.
GREAT!!!

The tool is called nib2objc and it can be found on Github. Github, is a site that allows developers to share their code with the rest of the world. Another great site!!

The link for nib2objc is here, and don’t forget to thanks its author kosmaczewski

Happy coding!!

Fix iPhone Simulator’s missing Photo db

It happens: for same mysterious reason your iPhone Simulator has an empty Photo DB.
I cannot find a way to restore, even re-installing the simulator.
But…. If you have a jailbroken iPhone (or iPod Touch, of curse) you can do it.

Follow the steps:

  1. Identify you iPhone ip address in your local network, usually 192.168.1.6.
  2. Open a terminal in your mac and go to the following directory:
    cd /Users/<UserName>/Library/Application Support/iPhone Simulator/User/Media
    Change UserName in your default user.
  3. Now type the following command
    scp -r root@192.168.1.6:/private/var/mobile/Media/Photos/*

Done! Have fun!!

Using SDK applications on pwned development iPhones/iPod Touch

Erica wrote an interesting article that explains how to use SDK generated application on iPhone running a pwned version of iPhoneOS 2.0.
It will be useful for those who try to run their SDK application for testing purpose.
Read the full article here.

For me… I’m still waiting for official release of the iPhone 2.0 :sigh:

Using Apple iPhone SDK to build 1.1.4 toolchain applications

The Apple iPhone SDK uses XCode to build iPhone 2.0 application.
At the moment only few US developer are able to install SDK-created applications on their iPhone/iPod Touch.

Someone at hackint0sh figured how to use Xcode to build 1.1.4 application that works with jailbreaked iPhone/iPod Touch.

The details can be found here.

Apple SDK: EU developer MUST wait

I applied the very first day for the iPhone SDK developer program.
Just two days ago a received the following email from Apple:

Thank you for expressing interest in the iPhone Developer Program. We have received your enrollment request. At this time, the iPhone Developer Program is only available in the US and will expand to other countries during the beta period. We will contact you again regarding your enrollment status at the appropriate time.

Thank you for applying.

The most important thing for me is: “is only available in the US”.
Why Apple do not want to expand to the rest of the World ???

I bought a MacBookPro for starting developing on iPhone/iPod Touch, and now I HAVE to wait ????

It’s not fair.