When I declare the SDWebImageCompletionBlock, it throws this error before compiling "Use of undeclared type type 'SDWebImageCompletionBlock':
let block: SDWebImageCompletionBlock! = {(image: UIImage!, error: NSError!, cacheType: SDImageCacheType!, imageURL: NSURL!) -> Void in
}
When I set the imageView w/o the completion block, this works:
self.imgView!.sd_setImageWithURL(url, placeholderImage: UIImage(named: "my_img_placeholder"))