Re: figuring out which TableView I am?
Re: figuring out which TableView I am?
- Subject: Re: figuring out which TableView I am?
- From: WT <email@hidden>
- Date: Mon, 27 Apr 2009 03:08:19 +0200
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@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