• 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-based Bindings and an Inspector window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document-based Bindings and an Inspector window


  • Subject: Re: Document-based Bindings and an Inspector window
  • From: mmalcolm crawford <email@hidden>
  • Date: Sun, 1 Aug 2004 13:45:10 -0700

On Aug 1, 2004, at 5:36 AM, Adam Knight wrote:

So I have a document-based app that's using the controller layer pretty
fiercely. Everything is bound to something and all values are passed
fine and well and life is really just dandy. I also have some panels
in the MyDocument nib such as, in this case, an inspector (a la "Get
Info") for the currently-selected entry.
So my problem is that when I make a _second_ document, I get a _second_
inspector panel for that new document.

Put your inspector panel into a different nib.

You can access the current document by binding to:

[Shared Application].mainWindow.windowController.document

<http://www.cocoabuilder.com/archive/message/cocoa/2004/7/17/111979>

mmalc
_______________________________________________
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: 
 >Document-based Bindings and an Inspector window (From: Adam Knight <email@hidden>)

  • Prev by Date: Re: cocoa app from scratch
  • Next by Date: Re: Find panel
  • Previous by thread: Document-based Bindings and an Inspector window
  • Next by thread: Re: [OT] Premature optimizations
  • Index(es):
    • Date
    • Thread