PDA

View Full Version : Windows Based vs View Based




McBgnr
Aug 16, 2009, 11:29 AM
Hey guys, I have just started with development for iPhone. I was wondering how to choose in between Window Based and View Based templates for the application.

To start with I want to make an application which displays a few screens, in a particular sequence. I have made a sample using window based template and works well. I think that the same thing can be achieved using View Based app as well, correct me if I am wrong. I am not able to decide which template to use. Suggestions are welcome.

Cheers, McBgnr (iPhone SDK 3.0)



drivefast
Aug 16, 2009, 11:36 AM
the way you describe it, any approach would do. if you already made a sample that works, dont fix it ;)

McBgnr
Aug 16, 2009, 11:46 AM
That was so quick... :-).

It means for my case either method would do.

However, I am still not very clear on the ideal usage of these templates?

North Bronson
Aug 16, 2009, 12:50 PM
The window-based template is for people like me who avoid using Interface Builder. It's the best place to start if you are laying everything out with code.

The view-based template is better if you are going to be using Interface Builder for the rest of the development.