Call of super from a custom NSCell in a custom NSControl
Call of super from a custom NSCell in a custom NSControl
- Subject: Call of super from a custom NSCell in a custom NSControl
- From: Nicolas Dudebout <email@hidden>
- Date: Sat, 24 Feb 2007 12:50:33 +0100
I'm trying to add a few features to level indicators and decided to
subclass NSLevelIndicator and NSLevelIndicatorCell to do so.
I instantiate my MyLevelIndicator programatically and call the test
method that is supposed to print super's description but it crashes.
This is a problem to me because I need to use super to draw my custom
cell.
I have made a minimal project to show this: http://
nicolasaujapon.free.fr/TestLevelIndicator.zip.
PS: I also tried it with NSSlider and NSSliderCell and got the same
problem. I do not really understand what is going on here.
Thanks in advance for your help.
Nicolas Dudebout
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden