NSDocument problem
NSDocument problem
- Subject: NSDocument problem
- From: Nico <email@hidden>
- Date: Wed, 31 Jul 2002 06:36:35 +0200
Hi!:)
I've got an app who creates NSDocument very often. When the NSDocument is
created, I need to -setTitle: of the NSWindow it contains. Each document has
a single window and each window has a different topic.
Unfortunately, right after the document is created and I called -setTitle:,
I'm calling a second method who gets the name of the new-created window...
Here's the problem: most of the time the title has _not_ yet been set, and I
got a title like @"Untitle 2" or something.
So my question is (tadaam :)) : is it possible to set the properties of the
window _before_ it appears ?
Thanks,
Nico
_______________________________________________
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.