On Sun, May 17, 2009 at 12:08 PM, K. Darcy Otto <do...@csusb.edu> wrote: > Thank you. The thing is, the cell object returned by > -tableView:willDisplayCell:forTableColumn:row: is not from my > NSTextFieldCell subclass but rather the superclass – even though it is the > subclass doing the drawing. Any idea how to address the subclass object > directly?
The instance passed to -tableView:willDisplayCell:forTableColumn:row: is the same instance that is used to draw the cell. If you are seeing an instance of NSTextFieldCell instead of an instance of MyFancyTextFieldCell, you must have a configuration issue. How are you setting up the table column for your cell subclass? Jim _______________________________________________ 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