Re: My windows don't cascade
Re: My windows don't cascade
- Subject: Re: My windows don't cascade
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 3 Jun 2008 23:21:27 -0400
On Tue, Jun 3, 2008 at 8:40 PM, Boyd Collier
<email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden