Xcode 4.5.2, Lion 10.7.5 My app is a Document app and I implemented -(void)makeWindowControllers. It could have several documents open at the same time. In particular I want to cascade the window when a New document is opened.
I've read up on this and am aware of the NSWindow method - (NSPoint)cascadeTopLeftFromPoint:(NSPoint)topLeft]; // in screen coordinates!! So do I implement the cascading algorithm my WindowController? If so in which method? (a) initWithWindowNibName after the nib is instantiated? (b) windowDidLoad? (c) or somewhere else entirely? Finally I am considering an NSPoint (static?) in my appDelegate to store the last used NSPoint. Does this approach seem correct? If not what would you suggest? I did Google for algorithm and code but nothing helpful popped up. TIA for your comments. Peter _______________________________________________ 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