What if you make the window controller the delegate of the window?
Ka-ching! Thanks. that did it.
Todd
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderato
On Nov 10, 2008, at 9:00 AM, Todd Heberlein wrote:
Oops. Yes, MyDocument is a subclass of NSDocument and
BrowserViewController is a subclass of NSWindowController
...should probably be called "BrowserWindowController" in that
case...:-)
In MyDocument I have a method that has the f
On Nov 10, 2008, at 5:31 AM, Graham Cox wrote:
On 11 Nov 2008, at 12:11 am, Todd Heberlein wrote:
From the documentation it seems that the window's
NSDocumentController, even though it isn't the document's main
window, should still be in the responder chain.
I assume you actually mean t
On 11 Nov 2008, at 12:11 am, Todd Heberlein wrote:
From the documentation it seems that the window's
NSDocumentController, even though it isn't the document's main
window, should still be in the responder chain.
I assume you actually mean the window's NSDocument (or subclass
thereof) - t
I have a Documen-based application, and the besides the document's
main window, the user can create additional windows to be opened to
show aspects of the document/data from a different perspective; these
windows are loaded by an instance of an NSWindowController subclass.
Unfortunately, wh