Instance Property

hasImages

Returns a Boolean value indicating whether or not the images property contains a nonempty array.

Declaration

@property(nonatomic, readonly) BOOL hasImages;

Discussion

Employ this property to determine if a pasteboard contains image data.

Do not use the image or images properties to determine whether a pasteboard contains image data, because doing so consumes resources needlessly.

See Also

Checking for Data Types on a Pasteboard

hasColors

Returns a Boolean value indicating whether or not the colors property contains a nonempty array.

hasStrings

Returns a Boolean value indicating whether or not the strings property contains a nonempty array.

hasURLs

Returns a Boolean value indicating whether or not the URLs property contains a nonempty array.