Type Method

URLFromPasteboard:

Reads an NSURL object off of the specified pasteboard.

Declaration

+ (NSURL *)URLFromPasteboard:(NSPasteboard *)pasteBoard;

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

- writeToPasteboard:

Writes the URL to the specified pasteboard.