beginLoadingImageData(for:)
Starts an asynchronous fetch for image data in all locations
Declaration
func beginLoadingImageData(for client: (any ABImageClient)!) -> IntParameters
- client:
The object to be notified when the image finishes loading.
Return Value
A nonzero tag for tracking. This tag is used by the cancelLoadingImageData(forTag:) method to cancel a fetch operation.
Discussion
The client object should conform to the ABImageClient protocol. A consumeImageData(_:forTag:) message is sent to client when the fetch is done. Use the cancelLoadingImageData(forTag:) method if you need to cancel an asynchronous fetch.