Re: Shared object between two nib file.
Re: Shared object between two nib file.
- Subject: Re: Shared object between two nib file.
- From: Scott Herz <email@hidden>
- Date: Mon, 25 Jun 2001 10:22:36 -0700
Create an instance of object A in your code. Have it load both the
Window.nib and Controller.nib. Make sure the file's owner of Window.nib
and Controller.nib is of type A. Create the outlets and actions you need
for these nibs in A and hook them up.
Scott.
On Sunday, June 24, 2001, at 12:01 AM, Youngjin Kim wrote:
If there's identical name of objects are in multiple nib files in same
project. How PB handles this?
Say I have object A needs to be connected to both Window.nib and
Controller.nib, May I include object A in both nib file and connect
it's outlet to some object in one file and connect its actions to the
other? Or is it just bad example of using nib file?
Youngjin
homepage.mac.com/youngjk (my first cocoan app)
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev