Contents

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 : NSObjectProtocol

Overview

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

Providing the cell metrics

Responding to mouse events

See Also

Attachments