noob: Question about senders and views
noob: Question about senders and views
- Subject: noob: Question about senders and views
- From: "Eric E. Dolecki" <email@hidden>
- Date: Wed, 8 Apr 2009 13:08:41 -0400
I have a tab bar and it's driven by FirstViewController. I have a second
view with it's own xib. I can have buttons there call into a "buttonPress"
method I have in the FirstViewController. I am able to get the sender tag
easily.
NSLog(@"id: %d", [sender tag] );
However in the second xib I have a text field that I want to populate with a
string. Since the buttonPress method in the FirstViewController doesn't know
about the UILabel in the SecondViewController, how can I have it set that
field?
Eric
_______________________________________________
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