Quote:
Originally Posted by DGYWFT
Thanks for the suggestions and comments. Yeah, coming from a php background myself, I would never do this in web code, will for sure equal browser explosion, haha. So literally just adding 'if (!done)' code will resolve all this, or do I need to toggle a sort of on/off situation depending on when I leave and come back to this view? Your right its not the most intense code, but being it is running on the iphone, it could add up fast if I am not careful.
Cheers!
|
You only need to use the "if(done)" toggle feature if this view is on the "stacK" and NOT in view. AND, you only need to do if you want to save some processing power. When you leave this view are you hiding it, or are you popping it off the stack? If you're hiding it, then yes, add the toggle feature. If you're popping it, then don't worry about it.
When I talk about the "stack", I'm referring to the stack of screens on a nav view controller. I'm not sure you're using it, but many people do.
Good luck!