• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: figuring out which TableView I am?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: figuring out which TableView I am? (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: Core Data Suddenly Losing Changes
  • Next by Date: Re: figuring out which TableView I am?
  • Previous by thread: Re: figuring out which TableView I am?
  • Next by thread: Re: figuring out which TableView I am?
  • Index(es):
    • Date
    • Thread