Instance Property

hasURLs

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

Declaration

@property(nonatomic, readonly) BOOL hasURLs;

Discussion

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

Do not use the URL or URLs properties to determine whether a pasteboard contains URL 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.

hasImages

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

hasStrings

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