On Tue, Dec 22, 2009 at 5:22 PM, Graham Cox <graham....@bigpond.com> wrote:
> This is exactly the sort of code smell we were always on the look out for at 
> code reviews, and it was always avoidable. In every case, the revised code 
> was more elegant, maintainable and straightforward. I don't believe there is 
> a genuine case where it would be more "natural and elegant" to do this than 
> to take a more conventional approach. I'm also unaware of any part of Cocoa 
> doing this.

See -[NSControl tag] for an example of where it's done in Cocoa.

--Kyle Sluder
_______________________________________________

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 arch...@mail-archive.com

Reply via email to