Returns a URL, either from a link attribute or from text at the given location that appears to be a URL string, for use in automatic link detection.
- macOS 10.5–10.11Deprecated
The character index in the string at which the method checks for a link.
The actual range covered by the link attribute or URL string, or of non-URL text if no apparent URL is found.
The URL found at
Returns an array of strings representing those file types that can be loaded as text.
Returns whether the attribute string contains any attachment attributes.
Draws the receiver with the specified options, within the given rectangle in the current graphics context.
Calculates and returns bounding rectangle for the receiver drawn using the options specified, within the given rectangle in the current graphics context.