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 (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]

Reply via email to