• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: My windows don't cascade
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: My windows don't cascade
      • From: Boyd Collier <email@hidden>
References: 
 >Re: My windows don't cascade (From: email@hidden (Stefan Haller))
 >Re: My windows don't cascade (From: Boyd Collier <email@hidden>)

  • Prev by Date: Re: Frame rate check
  • Next by Date: Re: Opening column for edit after adding to tree controller?
  • Previous by thread: Re: My windows don't cascade
  • Next by thread: Re: My windows don't cascade
  • Index(es):
    • Date
    • Thread