url(from:)
Returns a URL from the specified pasteboard.
Declaration
class func url(from pasteboard: NSPasteboard!) -> URL!Parameters
- pasteboard:
The pasteboard containing a URL.
Return Value
The URL from the specified pasteboard or nil if there’s no URL on pasteboard.
Discussion
This method supports multiple pasteboard types including NSRULPboardType.