Re: Document App: IB connections 101
Re: Document App: IB connections 101
- Subject: Re: Document App: IB connections 101
- From: Michael Willhide <email@hidden>
- Date: Tue, 23 Jul 2002 08:40:28 -0700 (PDT)
>
if this is a "global" tool manager, it is certainly a sharedInstance of
>
some class. So you can create an instance of it in your nib file and
>
make the appropriate connection. If you implement correctly the
>
initWithCoder: to return the shared instance, any object instantiated in
>
any nib will be in fact the shared instance, and your connections will
>
point to the right manager.
Interesting. The document framework uses a separate nib file for the document class. So you're saying to create an instance of the tool manager in the nib file for the document, as well as in the application nib file, make the appropriate connections in each of the files.. and then implement initWithCoder: such that it returns the same instance in both cases?
Mike
_______________________________________________
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.