             }
 
             if cacheType != .Memory {
-                UIView.transitionWithView(strongSelf, duration: imageFadeTransitionDuration, options: .TransitionCrossDissolve, animations: { () -> Void in
-                    strongSelf.image = image
+                UIView.transitionWithView(strongSelf, duration: imageFadeTransitionDuration, options: .TransitionCrossDissolve, animations: { [weak self] in
+                    self?.image = image
                 }, completion: nil)
 
             } else {

            }

            activityIndicator?.stopAnimating()

            //println("imageOfAttachment cacheType: \(cacheType)")
        })
    }
}

                return
            }

            UIView.transitionWithView(strongSelf, duration: imageFadeTransitionDuration, options: .TransitionCrossDissolve, animations: { [weak self] in
                self?.image = image
            }, completion: nil)

            activityIndicator?.stopAnimating()
