On 08/01/2009, at 3:16 PM, Kyle Sluder wrote:
I'd disagree. I'd say that the proper way to do this is to implement a custom NSCell subclass (a la ImageAndTextCell). This is more in line with the framework: the cell is given an object value, which the cell represents by drawing into a view. That object value happens to have two valid representations: an image and a textual label. Therefore the cell should draw those two representations.
Correct, and Apple's ImageAndTextCell class, which is in the project linked from my previous post, does exactly that:
http://developer.apple.com/samplecode/SourceView/ -- Rob Keniger _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com