NSDocument questions earlier...
NSDocument questions earlier...
- Subject: NSDocument questions earlier...
- From: Teunis Peters <email@hidden>
- Date: Tue, 24 May 2005 17:51:02 -0700 (PDT)
Solved MOST of them. Yes the "sketch" example covered some. I finally
fixed my document window opening problem by setting the first responder to
be the window controller class (as "sketch" does) rather than what the
documentation suggests and making it the document class itself.. *sigh*
(also calling "[super windowDoneLoading]" if I've spelled that correctly.
Oops)
Creating documents without GUI - easy. Make the window not automatically
open on NIB load and don't tell it to load a window when you create a
document. Seems to work...
It -does- look like overloading NSFileWrapper to access images in a
database is the right way to go. Wonder if it could be used for embedding
generic objects? (like, say, word documents or other such)
No idea 'til I try.
Ta!
_______________________________________________
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