iPhone switching views without first view being reset

Posted by user298261 on Stack Overflow See other posts from Stack Overflow or by user298261
Published on 2010-04-17T22:31:17Z Indexed on 2010/04/17 22:33 UTC
Read the original article Hit count: 238

Filed under:
|
|
|

Heya!

I'm making a role-playing game, and I want to have a Map View and a Battle Screen. With the possibility of other screens as well.

I thought the best way to achieve this was to use multiple NIB files.

When I prototyped this by have one view that creates content, switches to the next view, and then back, the content on the original view was reset.

How do I make it so that the first view doesn't reset the data each time it's loaded?

Thanks!

© Stack Overflow or respective owner

Related posts about rpg

Related posts about iphone