Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Synching window titles



I have an application which has two suclasses of NSWindowController, each displaying the proper NIB file. One NSWindowController is the main window, the other is an auxilliary window. The NSWindowController subclass for the auxiliary window is using initWithDocument: to get a reference to the underlying document both window controllers referring to.
When I open a new window and save it, the auxiliary window doesn't get an updated window title, although I've defined - (NSString *)windowTitleForDocumentDisplayName:(NSString *)displayName in the auxiliary window controller subclass. I've looked at Bill Cheeseman's Vermont Recipes example and its using a similar auxiliary window concept and there it works out of the box. What am I doing wrong? or what am I missing?

cheers
Rob
_______________________________________________
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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.