Mac OS X Reference Library Apple Developer
Search

Subclassing NSButton

Override the designated initializer (NSView’s initWithFrame: method) if you create a subclass of NSButton that performs its own initialization. If you want to use a custom NSButtonCell subclass with your subclass of NSButton, you have to override the cellClass: method, as described in Subclassing NSControl.




Last updated: 2008-10-15

Did this document help you? Yes It's good, but... Not helpful...