Tag Archives: NSAttributedString

Cocoa: Fetching all attachments from an NSAttributedString

This code snippet is a category of NSAttributedString that shows how to fetch all attachments from the string. Header: @interface NSAttributedString (NSAttributedString_MoreExtensions) /** * @method allAttachments * @abstract Fetchs all attachments from an NSAttributedString. * @discussion This method searchs for … Continue reading

Posted in Default | Tagged , , | Leave a comment