Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.imageView.sd_setImageWithURL(MYIMAGEURL
- , placeholderImage: nil
- , options: SDWebImageOptions.RetryFailed
- , progress: {(receivedSize: Int!, expectedSize: Int!) in
- }
- , completed:{(image: UIImage?, error: NSError?, cacheType: SDImageCacheType!, imageURL: NSURL?) in
- if image {
- UIView.transitionWithView(self.imageView
- , duration: 0.3
- , options: UIViewAnimationOptions.AllowUserInteraction | UIViewAnimationOptions.TransitionCrossDissolve
- , animations: {
- }
- , completion: {(finished) in
- })
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement