A mechanism for displaying text or images in a view object without the overhead of a full NSView
subclass.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
@interface NSCell : NSObject
Overview
Cells are used by most of the NSControl
classes to implement their internal workings.
Designated Initializers
When subclassing NSCell
you must implement all of the designated initializers. Those methods include init
, init
, init
, and init
.