--- On Tue, 8/19/08, Sumner Trammell <[EMAIL PROTECTED]> wrote: > Unless I'm being completely stupid about this, he could > have done this, right? > > [[[self windowControllers] objectAtIndex:0] > setShouldCascadeWindows:NO]; > > > Or better yet, this? > > [aController setShouldCascadeWindows:NO];
Unless there's some really odd, ill-advised NSWindow subclass/category at work here, yes. It looks like maybe this method was originally meant to do something different, and the second line just got changed rather than rewriting the first to be more idiomatic. Cheers, Chuck _______________________________________________ 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]