| Adopted by | |
| Conforms to | |
| Framework | /System/Library/Frameworks/AddressBook.framework |
| Availability | Available in Mac OS X v10.2 and later. |
| Companion guide | |
| Declared in | ABImageLoading.h |
The ABImageClient protocol is used to handle images loaded from an asynchronous fetch for ABPerson objects.
– consumeImageData:forTag: required method
Gets the image data for the given tag that was initiated by an asynchronous fetch. (required)
- (void)consumeImageData:(NSData *)data forTag:(NSInteger)tag
A pointer to a data object that will be set to an NSImage/QuickTime compatible format, or nil if no image could be found.
You can use this image data with the initWithData: method of the NSImage class.
The tag returned from a previous call to the ABPerson beginLoadingImageDataForClient: method.
In the case of a multithreaded application, this method is always called on the main thread.
+ cancelLoadingImageDataForTag: (ABPerson)– imageData (ABPerson)ABImageLoading.h
Last updated: 2009-07-29