I am calling up a view from it's nib, and immediately calling a method in that view controller class to set a variable. I can't access the newly set variable in viewDidLoad, so I have a timer of 100ms inside the viewDidLoad that actually uses the variable that is set (it's available by then). Is there a better way (callback method) that I should use instead that would be foolproof and not based on a NSTimer being long enough to properly access? Or should I store the variable in my model class and just use a getter at that point instead? It's a little easier to keep it in the view using it, but if that's the way to do it, so be it.
Thanks, Eric _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com