Re: Document-based Bindings and an Inspector window
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.