Re: very newbie question
Re: very newbie question
- Subject: Re: very newbie question
- From: Jens Alfke <email@hidden>
- Date: Thu, 1 Oct 2009 15:16:39 -0700
On Oct 1, 2009, at 2:39 PM, Manuel Grau wrote:
I have my own controller classes for each view. The problem is that
my IBAction method that receives button event is in
fourthViewController, so I can't acces fields in the other views to
get the values I need. So, which is the usual way to do this? Maybe,
adding the button action receiver in MyAppDelegate?
If you need your objects in the nib to be able to call each other, add
IBOutlets in those class's interfaces pointing to the other objects/
views they need to talk to, and wire them up in Interface Builder. At
runtime those instance variables will point to the other objects.
In your case you would add some view outlets in whatever class of
yours the fourthViewController is.
—Jens_______________________________________________
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