Contents

urls

An array of URL objects in all pasteboard items.

Declaration

var urls: [URL]? { get set }

Discussion

The value stored in this property is an array of NSURL objects. The associated array of representation types is typeListURL, which includes type kUTTypeURL. Setting this property replaces all current items in the pasteboard with the new items. The returned array may have fewer objects than the number of pasteboard items; this happens if a pasteboard item does not have a value of the indicated type.

See Also

Getting and setting pasteboard items of standard data types