Contents

urlTitle(from:)

Returns the title of a URL from the specified pasteboard.

Declaration

class func urlTitle(from pasteboard: NSPasteboard!) -> String!

Parameters

  • pasteboard:

    The pasteboard containing the URL.

Return Value

The title of the URL on pasteboard. Returns nil if there’s no URL on pasteboard or the URL has no title.

See Also

Using the Pasteboard