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