Development with the iPhone SDK - Initial Observations
experimentgarden.blogspot.com
experimentgarden.blogspot.com
Xcode is nice, there's a simulator, Interface Builder has lots of windows, and you need to program in Objective C. Nothing very insightful.
I'll share some insight later, after I explore the SDK and Objective C code interfaces in more detail.
Its always more interesting to see the blog posts making observations after a person/company has released a serious project. This way, these people have been using the tools in their daily workflow for weeks/months and know most of the ins and outs of it.
To the author:
I think where you say "require that I learn an entirely new language" and go on to mention interfaces and handlers, you mean instead Cocoa (Cocoa Touch in this case)
Nice write up and good luck
I just tried this on my own iPhone simulator, and it's not true. The simulator's version of Safari does indeed rotate sideways when the simulator does.
Safari does indeed rotate, but other applications such as Photo Album, etc don't. And it doesn't work on other Apple sample code programs either. Safari and Contacts seem to be the only two apps that rotate.
Perhaps I just need to add the right code to my apps to make them rotate, but even the sample code applications from Apple don't rotate.
I'm still looking into this issue. There has to be something that I'm missing.
I have gotten my own apps to rotate in the simulator just fine. You have to make that decision at the view controller level. Investigate the UIViewController method shouldAutorotateToInterfaceOrientation:
EDIT: Also the autorotation only works on ViewControllers. If you only have Views without ViewControllers, (such as the default OpenGL app from the wizard) they will not rotate.
that's all you have to do, as far as the iphone is concerned. of course you'll have to draw the view contents differently, when you're in landscape mode.
So far none of the sample code apps that I have found rotate. Once I find one that does I'll be able to check the code and see how it is done.
As an aside,in the 3.0 version of the simulator there is now an option for sending a shake gesture but in the one app I have that responds to shakes it didn't work no matter how low I set the threshold.
Edit:looking at the shake gesture it seems that the method accelerometer:accelerometer didAccelerate does not get called (which is the method my app is using to detect shakes) when you send a shake gesture to the simulator so I'm not sure what the shake gesture actually does in 3.0.