On Tue, Jun 3, 2008 at 8:40 PM, Boyd Collier <[EMAIL PROTECTED]> wrote: > Although everything now works as I think it should, the fact that it didn't > work correctly when I used Apple's sample code makes me very nervous; have I > misunderstood something, or... ??
It is an unwritten assumption that you don't read the documentation in a vacuum, and that readers don't just copy and paste sample code into their applications without understanding exactly what it does. It's "sample" code, not "prebaked" code, after all. That said, I can't find anything regarding the behavior of NSWindowController and NSWindow with regards to cascading when the window has already been shown. But if you have an NSWindowController, it is responsible for showing the window, and therefore you shouldn't be ordering in the window in the first place. --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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]