NSImage object displays a single image (encapsulated in an
NSImage object) in a frame. This class provides methods for choosing the frame and for aligning and scaling the image to fit the frame.
- macOS 10.0+
The object value of an
NSImage object must be an
NSImage object, so if you use the
object method of
NSCell, be sure to supply an
NSImage object as an argument. Because an
NSImage object does not need to be converted for display, do not use the
NSCell methods relating to formatters.