Access object from another view
Access object from another view
- Subject: Access object from another view
- From: Steve Wetzel <email@hidden>
- Date: Tue, 21 Sep 2010 13:57:59 -0500
How do I access and object on one view from another view? I cannot figure it out.
I have two view controllers and two views. Lets call them viewController1 and viewController2 and view1 and view2. ViewController1 loads the second view by:
[self.view addSubview:viewController2.view];
There is a label in view1 that I want to get the value of the text from in the code for viewController2. How do I do this?
Steve
_______________________________________________
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