Skip navigation.
 
mlRe: Programmatically connecting outlets
FROM : Uli Kusterer
DATE : Sun Feb 03 13:18:43 2008

On 03.02.2008, at 04:53, Kyle Sluder wrote:
> On Feb 2, 2008 10:25 PM, Jacob Bandes-Storch <<email_removed>> 
> 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

Related mailsAuthorDate
mlProgrammatically connecting outlets Jacob Bandes-Storc… Feb 3, 04:25
mlRe: Programmatically connecting outlets Kyle Sluder Feb 3, 04:53
mlRe: Programmatically connecting outlets Uli Kusterer Feb 3, 13:18