Multiple XIB or Views

Apprentice
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
Member
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,071 Jan 9, 2010 05:10 PM
Last Post: Toontingy
  OpenGL ES 2d game - multiple EAGL Views or not? Elphaba 4 4,844 Aug 4, 2009 10:42 AM
Last Post: maximile
  views and OpenGL jeffro 0 2,009 Jan 20, 2009 11:18 PM
Last Post: jeffro
  Multiple OpenGL views tfifriday 2 3,660 Dec 28, 2008 02:51 PM
Last Post: tfifriday
  Maintain variables across multiple Views masumbuet 1 2,233 Dec 17, 2008 06:42 AM
Last Post: pierre