Contents

imageData()

Returns data that contains a picture of this person.

Declaration

func imageData() -> Data!

Return Value

Data containing a picture of this person

Discussion

This method searches only the local file system and operates synchronously. To perform an asynchronous search or to search over a network, use beginLoadingImageData(for:).

The returned data is in a QuickTime-compatible format. To create an image from it, use the NSImage method init(data:).

See Also

Managing Images