sending data to a view not yet displayed
sending data to a view not yet displayed
- Subject: sending data to a view not yet displayed
- From: Shane <email@hidden>
- Date: Sat, 15 Jan 2011 15:49:29 -0600
I am creating views which are being prepared for view swapping in the
init method of my apps main controller. So the view controllers exists
and each view controller's init method calls initWithNibName:.
My problem is that, if I swap views by selecting a view so that it is
displayed, when I load my data, data is being added to my outlets and
shown on my view.
But if I do not select the view by clicking on my interface (so the
view has not yet been displayed since I started the app), when I load
my data, then the data that I send to my outlets does not get shown in
the view when I do select it at a later time.
So I guess my question is, how do I make sure my view is able to
receive the data I want sent to it before it is ever displayed. I hope
that makes sense.
Any help much appreciated.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden