NSImageRep class is a semiabstract superclass (“semi” because it has some instance variables and implementation of its own). Each of its subclasses knows how to draw an image from a particular kind of source data. While an
NSImageRep subclass can be used directly, it is typically through an
NSImage object. An
NSImage object manages a group of image representations, choosing the best one for the current output device.
- macOS 10.10+