View Single Post
Mark FX

 
Mark FX's Avatar
 
Member Since: Aug 13, 2011
Location: West Sussex, UK
Posts: 168
Mark FX has a spectacular aura about

Mark FX is offline
Apple's documentation advises not to invoke drawWithFrame:inView in you're own subclasses, but advises people to use the drawInteriorWithFrame:inView: method instead.

The documentation for the latest implementation of the NSCell class is listed below.

https://developer.apple.com/library/...hFrame:inView:

The reason it's not working in the later OSX versions, is because this particular NSCell method has been changed in the way it's implemented.
Once upon time this method used to be named drawWithFrameInView:, but that version has been deprecated now.

Regards Mark
QUOTE Thanks