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.
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.
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
The Apple AppStore is coming: it should be available for all the 2.0 iPhones for July, 11th according to rumors.
But developer need some answers to their question…
Due to the SDK NDA, is difficult to find them, but at least I discover some interesting posts:
It was time: I received this email from Apple:
since yesterday, I’m a iPhone Developer.
As a lot of people knows, there’s no garbage collector in iPhone. So you have to handle all the memory calls by yourself.
I discover a useful tool to help with memory debugging: TraceAlloc.
It’s a Library that helps you into catching memory leaks.
More details here.
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:
- Identify you iPhone ip address in your local network, usually 192.168.1.6.
- 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.
- Now type the following command
scp -r firstname.lastname@example.org:/private/var/mobile/Media/Photos/*
Done! Have fun!!
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:
Google released a OS X Objective-C library for interfacing with some of its services.
This library should works for iPhone too…