Multiple XIB or Views
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?
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?
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....
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....
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Messaging between separate views | Toontingy | 0 | 1,807 |
Jan 9, 2010 05:10 PM Last Post: Toontingy |
|
| OpenGL ES 2d game - multiple EAGL Views or not? | Elphaba | 4 | 4,324 |
Aug 4, 2009 10:42 AM Last Post: maximile |
|
| views and OpenGL | jeffro | 0 | 1,786 |
Jan 20, 2009 11:18 PM Last Post: jeffro |
|
| Multiple OpenGL views | tfifriday | 2 | 3,155 |
Dec 28, 2008 02:51 PM Last Post: tfifriday |
|
| Maintain variables across multiple Views | masumbuet | 1 | 1,998 |
Dec 17, 2008 06:42 AM Last Post: pierre |
|

