Window Titles In Document-Based Applications
Window Titles In Document-Based Applications
- Subject: Window Titles In Document-Based Applications
- From: Eric Czarny <email@hidden>
- Date: Mon, 3 Mar 2003 18:10:48 -0500
I have decided to go with a document-based architecture for my blogging
client and there are a few questions that I have. The main question I
have has to deal with the window titles displayed when a new document
is created. I would like to replace "Untitled" and "Untitled 2" with
just the string "New Entry...". I currently am able to use setTitle: to
change the name of the window title to the subject of the user's entry,
but I would like to be able to replace "Untitled".
The second question I have is a rather general one which really all I
need is clarification on. I have been reading into the method
addWindowController: in an NSDocument subclass and am wondering how
this method can be used and what it exactly does. Do it enable you to
create multiple instances of a given window controller to correspond
with a given document? Or does it let you use your own window
controllers to replace the one used by documents? I can't seem to find
any information on this, any help for either question would be a huge
help! thanks!
Best Regards,
Eric Czarny
_______________________________________________
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.