Contents

init(fromPasteboard:)

Reads an NSURL object off of the specified pasteboard.

Declaration

init?(fromPasteboard pasteBoard: NSPasteboard)
init?(from pasteBoard: NSPasteboard)

Parameters

  • pasteBoard:

    The target pasteboard.

Return Value

A NSURL object, or nil if the pasteboard does not contain NSURLPboardType data.

See Also

Working with Pasteboards