On Jul 2, 2012, at 12:52 PM, Lee Ann Rucker wrote: > Subclass [NSWindow restorationClass] and return nil should work.
Rather than subclassing every NSWindow in your app, you could instead add an override of +restoreWindowWithIdentifier:state:completionHandler: to the subclass of NSDocumentController you likely already have. Or you could just call -setRestorationClass: in your document's window controller's -windowDidLoad (or your document's -windowControllerDidLoadNib method if your app is so simple that you don't even have one of those). --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com