Re: Subclassing NSButton
Re: Subclassing NSButton
- Subject: Re: Subclassing NSButton
- From: Simon Brée <email@hidden>
- Date: Fri, 4 Nov 2005 21:50:11 +0100
Yes, you're right my sub-class is SBBouton. I'd just wanted to
translate but forgot that ly traces were not.
So do you have any idea what is going wrong ?
Simon
Le 4 nov. 05 à 21:32, Ryan Stevens a écrit :
You're sure SBButton : NSButton ?
If that's the case you got an odd one that's beyond me.
On Nov 4, 2005, at 11:22 AM, Simon Brée wrote:
Hi everyone,
I'm trying to subclassing NSButton. For the moment, it is just a
test : my class SBButton has no specific methods.
In IB, I created a SBButton class ans assigned it to a NSButton.
But when I run my test program, I've got :
[Session started at 2005-11-04 20:13:10 +0100.]
2005-11-04 20:13:11.088 ShapedButton[2868] *** -[SBBouton
initWithCoder:]: selector not recognized [self = 0x306810]
2005-11-04 20:13:11.089 ShapedButton[2868] An uncaught exception
was raised
2005-11-04 20:13:11.113 ShapedButton[2868] *** -[SBBouton
initWithCoder:]: selector not recognized [self = 0x306810]
2005-11-04 20:13:11.113 ShapedButton[2868] *** Uncaught exception:
<NSInvalidArgumentException> *** -[SBBouton initWithCoder:]:
selector not recognized [self = 0x306810]
ShapedButton has exited due to signal 5 (SIGTRAP).
What did I done wrong ? What does it mean ?
Thanks for your help,
Simon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden