     static let lengthOfTextAttachment = NSAttributedString(attachment: NSTextAttachment()).length
 
 
-    /// String containing the NSTextAttachment Character
-    ///
-    static let textAttachmentString = String(UnicodeScalar(NSAttachmentCharacter)!)
-
-
 
     /// Helper Initializer: returns an Attributed String, with the specified attachment, styled with a given
     /// collection of attributes.

        var attributesWithAttachment = attributes
        attributesWithAttachment[.attachment] = attachment

        self.init(string: NSAttributedString.textAttachmentString, attributes: attributesWithAttachment)
    }

    /// Loads any NSTextAttachment's lazy file reference, into a UIImage instance, in memory.

import Foundation
import UIKit


// MARK: - Constants
//
extension String {
    /// String containing the NSTextAttachment Character
    ///
    static let textAttachment = String(UnicodeScalar(NSAttachmentCharacter)!)
}


// MARK: - NSAttributedString Extension for Attachments
