Re: Accessing objects in a nib file
Re: Accessing objects in a nib file
- Subject: Re: Accessing objects in a nib file
- From: "M. Uli Kusterer" <email@hidden>
- Date: Wed, 2 Jul 2003 19:01:53 +0200
At 18:11 Uhr +0200 02.07.2003, Daniel Aarno wrote:
What is the best way to access an object (instance) in a nib file?
Say I have a window in the nib file and I want to get a pointer to
that window object, how is it done?
From where do you want to access it? If the accessing instance is
also in the NIB, just use an IBOutlet and connect it to the other
object in IB and you get your pointer for free. Same goes for cases
where the "owner" of the NIB ("File's Owner" needs to have that
pointer.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.