NSTextAttachmentCellProtocol
A set of methods that declares the interface for objects that draw text attachment icons and handle mouse events on their icons.
Declaration
protocol NSTextAttachmentCellProtocol : NSObjectProtocolOverview
With the exceptions of cellBaselineOffset(), attachment, and attachment, all of these methods are implemented by the NSCell class.For general information on text attachments, see NSAttributedString and NSTextView.
Topics
Setting the attachment
Drawing the cell contents
draw(withFrame:in:)draw(withFrame:in:characterIndex:)draw(withFrame:in:characterIndex:layoutManager:)highlight(_:withFrame:in:)