Handling hilighted row in NSTableView with bindings
Handling hilighted row in NSTableView with bindings
- Subject: Handling hilighted row in NSTableView with bindings
- From: Yann Bizeul <email@hidden>
- Date: Mon, 26 Sep 2005 16:58:33 +0200
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