• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Document App: IB connections 101
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document App: IB connections 101


  • Subject: Re: Document App: IB connections 101
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 23 Jul 2002 21:28:51 +0200

On Tuesday, July 23, 2002, at 05:40 , Michael Willhide wrote:

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?

That would be possible, but I would discommend that (unless, of course, you are *very* sure that is the precise solution you need). The standard mechanisms (like responder chain, notifications, etc) should be sufficient for vast majority of cases, without such tricks.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
References: 
 >Re: Document App: IB connections 101 (From: Michael Willhide <email@hidden>)

  • Prev by Date: Re: How to get stock quotes?
  • Next by Date: Re: Proper retain/release etiquette
  • Previous by thread: Re: Document App: IB connections 101
  • Next by thread: Re: Document App: IB connections 101
  • Index(es):
    • Date
    • Thread