Instance Method

containsAttachmentsInRange:

Returns a Boolean value that indicates if the attributed string contains a property configured in the specified range.

Declaration

- (BOOL)containsAttachmentsInRange:(NSRange)range;

Parameters

range

The range.

Return Value

YES if the attributed string contains a property configured as NSAttachmentAttributeName with NSAttachmentCharacter in range; otherwise, NO.

See Also

Getting Metrics for the String

- size

Returns the size required to draw the string.

- boundingRectWithSize:options:context:

Returns the bounding rectangle required to draw the string.