Returns an array of pasteboard types that can be loaded as text.
- macOS 10.1–10.5Deprecated
An array of
NSString objects, containing the pasteboard types supported by text classes and those that can be converted to supported pasteboard types through a user-installed filter service.
By default, the list returned by this method includes
When creating a subclass of
NSAttributedString that accepts text data from non-default pasteboard types, override
textUnfilteredPasteboardTypes to notify
NSAttributedString of the pasteboard types your class supports.
Returns an array of strings representing those file types that can be loaded as text.
Returns whether the attribute string contains any attachment attributes.
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.
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.