On Apr 27, 2009, at 2:19 AM, Greg Guerin wrote:

Jonathan Hess wrote:

Why not have a property/instance-variable that controls this directly and then set that in awakeFromNib from one of the controller classes that has an outlet to each of the table views?

If you needed a fully scalable solution with support for arbitrary properties, that would be the way to go. But the OP didn't need that. All he needed was 3 color-scheme variations of an otherwise standard NSTableView.

And that's precisely why I suggested the tags solution in the first place and why I argued in its favor after Jonathan Hess argued against it. I never suggested nor implied that the tags solution is the way to go in an arbitrary situation.

There are reasons for not over-designing solutions, as I'm sure all of you are aware.

Wagner
_______________________________________________

Cocoa-dev mailing list ([email protected])

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