custom window controllers
custom window controllers
- Subject: custom window controllers
- From: "Donald S. Hall" <email@hidden>
- Date: Thu, 19 Sep 2002 00:40:25 -0600
Does anyone have a sample code snippet for installing a custom window
controller for a document? I want to modify the document window title, and
this seems to be the way to do it. I have read over the documentation and
see the methods I need to work with. I must override -makeWindowControllers
in my NSDocument subclass to create my custom window controller. Do I need
to send [self makeWindowControllers] somewhere? (Where?) Also, it says I
must send the -addWindowController message to add my controller to the
document's list of controllers. Again, where should I do this? In -init? In
-makeWindowControllers?
Thanks for any help,
Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
http://www.theboss.net/appsmore
email@hidden
_______________________________________________
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.