On Thu, 7 Jun 2012 13:53:49 +0100, H. Miersch said: >In my Mac app I have a table view which so far only displays text and >numbers. Now I'd like to put color wells in one column (to supply colors >for the lines in the diagram) and checkboxes in another (to decide >whether each line should be drawn or not). Can I do that? If so, what's >the best way to do that? Is it as easy as modifying >tableview:objectvaluefortablecolumn:row: to retrieve the color wells >from the array and return them to the table view, or are there some >hoops I have to jump through?
Unlike most NSControls, there is no NSCell for NSColorWell. But 10.7 did add view-based tableviews, so if you can require 10.7+, that's probably your best bet. I've been meaning to try it myself... -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com