• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Subclassing NSButton
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subclassing NSButton


  • Subject: Subclassing NSButton
  • From: Simon BrĂ©e <email@hidden>
  • Date: Fri, 4 Nov 2005 20:22:34 +0100

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Subclassing NSButton
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Re: Printing a non document based textView
  • Next by Date: Fwd: DO and threads [SOLUTION]
  • Previous by thread: Re: Registering file types...
  • Next by thread: Re: Subclassing NSButton
  • Index(es):
    • Date
    • Thread