Does anyone know of a good tutorial on iPhone GUI design using just code and not Interface Builder?
I am new to iPhone development, and I wanted to better understand what is going on behind the scenes.
Does anyone know of a good tutorial on iPhone GUI design using just code and not Interface Builder?
I am new to iPhone development, and I wanted to better understand what is going on behind the scenes.
If you are after an understanding then have a look at Jonathan Zdziarski's Open iPhone Development book (not his newer SDK book). As he is demonstrating how to develop with the open iphone tool chain, this naturally means that IB is not involved and you get a greater understanding of how to do what you would normally do with IB programmatically.
Keep in mind that IB can speed up your development, and prevent you from hard coding dimensions and coordinates into your app. It's also a useful tool when it comes time to localize your app.
If you are a beginner, you should familiarize yourself with more interesting SDKs, rather than trying to figure out how a UIButton draws a frame and sets its font. You can always delve deeper into each IB-assisted framework, later when you've mastered OBJ-C, and developed some apps.
There is a reason why IB exists, just as there is a reason why Xcode exists, and we're not all typing "make myApp -flags x y z -opts a b c..." or even calling gcc directly. There is a lot to be learned from hand building a project from the command line, but really, it should come second to actually developing an app.