image
An instance of the relevant image class that represents the contents of the text attachment object.
Declaration
var image: NSImage? { get set }Discussion
For details about using the UIImage class to create text attachments that automatically adjust to surrounding font and color attributes, see the init(image:) initializer.