Re: Programmatically connecting outlets
Re: Programmatically connecting outlets
- Subject: Re: Programmatically connecting outlets
- From: Uli Kusterer <email@hidden>
- Date: Sun, 3 Feb 2008 13:18:43 +0100
On 03.02.2008, at 04:53, Kyle Sluder wrote:
On Feb 2, 2008 10:25 PM, Jacob Bandes-Storch <email@hidden>
wrote:
I'd like to create a connection between my app controller
and the window controllers, so that controls in the window can
communicate with the window controller, which can process information
and then communicate with the app controller.
There is nothing special about an outlet. IBOutlet is a macro that
expands to absolutely nothing. It's simply used to tell IB "Hey, this
ivar is supposed to be set in IB."
Or in short, an outlet is just an instance variable that points to
an object. Just assign it the value of whatever object you want it to
point to. Usually, you'd use an accessor method for that.
Cheers,
-- M. Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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