• 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
IB connections - newbie question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IB connections - newbie question


  • Subject: IB connections - newbie question
  • From: Oftenwrong Soong <email@hidden>
  • Date: Wed, 5 Aug 2009 12:58:44 -0700 (PDT)

Hi all,

I am making a NSDocument based app. In the NIB for the document window, I need to create a connection to a "global" data object (think singleton). This "global" data is used when creating the document, but isn't part of the document.

Normally I'd make a connection by dragging a NSObject into the NIB but that would instantiate a separate object for each open document. I want all open document(s) to share the same object.

How can I create such a connection between the NIB and my code?

Thanks all,
Soong




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: adding a sub menu to multiple super menus?
  • Next by Date: NSOutlineView Not Updating After Adding Items
  • Previous by thread: Re: adding a sub menu to multiple super menus?
  • Next by thread: Re: IB connections - newbie question
  • Index(es):
    • Date
    • Thread