Multiple XIB or Views

Posts: 16
Joined: 2010.01
Post: #1
I am making a child's game for the iPhone and in it I want to have several different screens (about 10). Each screen will be different and have different options and methods. WHAT IS THE BEST WAY TO DO THIS? I have watched several tutorials and there seems to be various ways to go about this.

Do I need a different XIB file for each view, how should I set up Views and ViewControllers, where should I setup the method for switching views, and where should I invoke that method (switching views) in each view?
Quote this message in a reply
Posts: 24
Joined: 2009.08
Post: #2
I usually have a XIB for every dialog/screen, then I have controller and view class for each dialog screen.

Occasionaly, if I have some kind of message screens with OK/Cancel buttons, then I can reuse the same controller and view class if the screens behave all the same....
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Messaging between separate views Toontingy 0 2,711 Jan 9, 2010 05:10 PM
Last Post: Toontingy
  OpenGL ES 2d game - multiple EAGL Views or not? Elphaba 4 5,878 Aug 4, 2009 10:42 AM
Last Post: maximile
  views and OpenGL jeffro 0 2,549 Jan 20, 2009 11:18 PM
Last Post: jeffro
  Multiple OpenGL views tfifriday 2 4,430 Dec 28, 2008 02:51 PM
Last Post: tfifriday
  Maintain variables across multiple Views masumbuet 1 2,877 Dec 17, 2008 06:42 AM
Last Post: pierre