Re: Handling hilighted row in NSTableView with bindings
Re: Handling hilighted row in NSTableView with bindings
- Subject: Re: Handling hilighted row in NSTableView with bindings
- From: Ryan Stevens <email@hidden>
- Date: Mon, 26 Sep 2005 13:03:38 -0700
You can't do it in the delegate method -tableView:willDisplayCell:..?
On Sep 26, 2005, at 7:58 AM, Yann Bizeul wrote:
Hello list.
Once again, I'm trying to work with CoreData for a new
application.
What I'm trying to do is feed a NSTableView with objects for an
NSArrayController.
Actually, I bound the NSTableView cell to
myController.selection, and use a valueTransformer to transform my
custom object to a NSAttributedString (I need to put colors in the
text). I could have bind directly to an "attributedString" key of
my object, but I thought the use of a NSValueTransformer was better
regarding MVC coding.
So far, this seem to work fine, but I need to change the colors
used when the line is hilighted in the NSTableView, to transform
black as white, and anything necessary to make the text readable.
Did anyone already deal with this, or can point me to some
documentaion I missed ?
Yann Bizeul • yann at tynsoe.org
Cocoa Developer
Tynsoe Projects
BuddyPop • GeekTool • SSH Tunnel Manager • ...
http://projects.tynsoe.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden