Objective-C LanguageNSTextAttachment


Syntax

  1. NSTextAttachment *attachmentName = [[NSTextAttachment alloc] init];

Remarks

NSTextAttachment objects are used by the NSAttributedString class cluster as the values for attachment attributes. The objects you create with this class are referred to as text attachment objects, or when no confusion will result, as text attachments or merely attachments.