Re: Window controllers, code obfuscation
Re: Window controllers, code obfuscation
- Subject: Re: Window controllers, code obfuscation
- From: Graham Cox <email@hidden>
- Date: Tue, 19 Aug 2008 17:37:37 +1000
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 person's code not work? If it does, my advice is
to leave it alone. Debugged code, no matter how bizarre-looking, is
better than any amount of theoretically excellent code that might not
work.
So, with that out of the way:
Or better yet, this?
[aController setShouldCascadeWindows:NO];
This seems the most straightforward thing to do. The question you need
to answer to your own satisfaction is: Is this what the original coder
intended? Is it functionally equivalent to the original code?
hth,
Graham
_______________________________________________
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