changeAttributes(_:)
Changes the attributes of the current selection.
Declaration
func changeAttributes(_ sender: Any?)Parameters
- sender:
The control that sent the message. Must respond to
convertAttributes:.
Discussion
This method changes the attributes by invoking convertAttributes(_:) on sender and applying the returned attributes to the appropriate text. For more information on attribute conversion, see NSFontManager.