Instance Method


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


optional func image(_ image: NSImage, didLoadPartOfRepresentation rep: NSImageRep, withValidRows rows: Int)



The image object whose contents are being loaded.


The image representation object that is receiving and processing the image data.


The number of rows of data that have been decompressed.


This method is optional; incremental loading will continue if the delegate does not implement it.

See Also

Managing Incremental Loads

func image(NSImage, didLoadRepresentation: NSImageRep, with: NSImage.LoadStatus)

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

func image(NSImage, didLoadRepresentationHeader: NSImageRep)

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

func image(NSImage, willLoadRepresentation: NSImageRep)

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

enum NSImage.LoadStatus

Status values for incremental image loading.