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.
Copyright © 2014 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2014-10-16