A semiabstract superclass that provides subclasses that you use to draw an image from a particular type of source data.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
@interface NSImageRep : NSObject
Overview
The NSImage
class is called “semiabstract” because it has some instance variables and implementation of its own, in addition to defining subclasses. Although an NSImage
subclass can be used directly, it is typically accessed through an NSImage
object, which manages a group of image representations, choosing the best one for the current output device.