     public init(textView: UITextView) {
         self.textView = textView
 
-        enumerateAttachments()
+        reloadAttachments()
     }
 
 

    /// or from `NSLayoutManagerDelegate.layoutManager(layoutManager, textContainer, didChangeGeometryFromSize oldSize)`
    ///
    public func resizeAttachments() {
        guard let textStorage = layoutManager.textStorage else {
            return
        }

        let textContainer = textView.textContainer
        let range = NSMakeRange(0, textStorage.length)

        textStorage.enumerateAttribute(NSAttachmentAttributeName, inRange: range, options: []) { (object, range, stop) in
            guard let attachment = object as? AztecTextAttachment else {
                return
            }

            self.resizeViewForAttachment(attachment, toFitInContainer: textContainer)
        }


            return nil
        }

        var rangeOfAttachment: NSRange?

        enumerateAttachments(ofType: AztecTextAttachment.self) { (attachment, range) in
            guard attachment == targetAttachment else {
                return
            }

