Protocol

NSImageDelegate

A set of optional methods that you can use to respond to drawing failures and manage incremental loads.

Declaration

@protocol NSImageDelegate

Topics

Responding to Drawing Failure

- imageDidNotDraw:inRect:

Tells the delegate that the image object is unable, for whatever reason, to lock focus on its image or draw in the specified rectangle.

Managing Incremental Loads

- image:didLoadPartOfRepresentation:withValidRows:

Tells the delegate that part of the incrementally loaded image data is available.

- image:didLoadRepresentation:withStatus:

Tells the delegate that an incrementally loaded image has been loaded and decompressed as completely as is possible.

- image:didLoadRepresentationHeader:

Tells the delegate that enough data has been read to determine the size of the image.

- image:willLoadRepresentation:

Tells the delegate that the image object is about to access its underlying bitmap data.

NSImageLoadStatus

Status values for incremental image loading.

Relationships

Inherits From

See Also

Images

Providing Images for Different Appearances

Supply image resources that work for light and dark appearances and for high-contrast environments.

NSImage

A high-level interface for manipulating image data.

NSImageRep

A semiabstract superclass that provides subclasses that you use to draw an image from a particular type of source data.