Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: images in NSTableView




On 12 May 2008, at 8:58 pm, Graham Cox wrote:

it's maybe more than you need and it also takes an NSColor object value


Oops, that came out not the way I intended it - I meant that you'll need to do more than this code does for your case - i.e. displaying two (or more?) colours in a cell, but this might point the way. When your table asks for the object value for the table row/column, you could supply an array of NSColors, and the cell would be programmed to understand that and display it appropriately.

G.

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >images in NSTableView (From: Yann Disser <email@hidden>)
 >Re: images in NSTableView (From: Graham Cox <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.