Window controllers, code obfuscation

2008-08-19 Thread Sumner Trammell
Hi, I'm trying to decipher someone else's code who is no longer available. He did something that I think I can simplify, but I first want to make sure I'm not being completely wrong-headed about what I'm looking at. He does the following in his MyDocument.m file: -

Re: Window controllers, code obfuscation

2008-08-19 Thread Graham Cox
On 19 Aug 2008, at 5:20 pm, Sumner Trammell wrote: Hi, I'm trying to decipher someone else's code who is no longer available. He did something that I think I can simplify, but I first want to make sure I'm not being completely wrong-headed about what I'm looking at. First off, does this

Re: Window controllers, code obfuscation

2008-08-19 Thread Charles Steinman
--- 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];