SDWebImage crash in swift -


It seems that I use "self" in the whole block, it will crash.

  Self.imageView.sd_setImageWithURL (MYIMAGEURL, placeholder image: zero, option: SDWebImageOptions.RetryFailed, progress: {(Received size: Int!, Expected size: Int!)}}, Completed: {(Image: UIImage ?, Error: NSError ?, Cache Type: SDIJType !, imageURL: NSURL?) If Image {UIView.transitionWithView (self.imageView, Duration: 0.3, Options: UIViewAnimationOptions.AllowUserInteraction | UIViewAnimationOptions. TransitionCrossDissolve, Animation: {}, Completed: {(Finished)}})}}    

< P> SDWebImageModule is an actively developed open source component. This is a lot better than the developers have already made some releases.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -