Problem with displaying drawer in doc-based app
Problem with displaying drawer in doc-based app
- Subject: Problem with displaying drawer in doc-based app
- From: Mike Abdullah <email@hidden>
- Date: Sat, 8 Apr 2006 18:59:54 +0100
I've made a document based app with a drawer attached to the document
window. Whether the drawer is open or not is remembered each time
the app is run.
So, in the windowControllerDidLoadNib method I load the drawers state
from the defaults and set it appropriately. The problem is that when
I do this, the drawer appears on its own just before the window
actually appears. Once the window is shown, the drawer "jumps" to be
attached to its window.
I've looked though the various docs and I can't seem to find a more
appropriate method to place the drawer loading behaviour in.
NSDocument doesn't seem to supply anything else, and I can't see any
suitable notifications in NSWindow.
Thanks,
Mike.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden