Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 04-19-2009, 02:36 AM   #13 (permalink)
Legrend
New Member
 
Join Date: Mar 2009
Location: Covina, California - United States
Age: 28
Posts: 22
Default

Quote:
Originally Posted by DGYWFT View Post
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!
Legrend is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,864
Threads: 89,223
Posts: 380,688
Top Poster: BrianSlick (7,129)
Welcome to our newest member, elliotbrady
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:51 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.