'Reset' a view?

Discussion in 'Public Game Developers Forum' started by kohjingyu, Oct 19, 2009.

  1. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    Hi guys,
    Is there any way to 'reset' a view back to how it looked like at the start?

    Thanks. :)
     
  2. nightbeaver

    nightbeaver Well-Known Member

    Dec 13, 2008
    382
    1
    0
    your question seems kind of vague to me can you elaborate on what you mean by "the view" ?
     
  3. WellSpentYouth

    WellSpentYouth Well-Known Member

    Jan 11, 2009
    1,363
    6
    0
    iPhone programmer
    App Tech Studios, USA
    He means the view as in the screen or page.

    Say we are playing a game of Enigmo and we want to restart the level, he is asking if there is a line of code to reload that view/screen/page instead of taking all of the objects in the view and resetting them one at a time. I don't know how to do this, but I hope this explains it better for someone who might know it!
     
  4. kohjingyu

    kohjingyu Well-Known Member

    Mar 20, 2009
    1,770
    0
    0
    Student/Developer
    Singapore
    I found that it probably isn't possible, using interface builder. I made my loading functions into for loops instead and called them when loading. Worked well.
     

Share This Page