natelyman / SwiftImageLoader

Asynchronous Image Loader in Swift. Caches using an NSCache.
MIT License
177 stars 42 forks source link

Image is always nil in closure #4

Open reduxdj opened 9 years ago

reduxdj commented 9 years ago

loading working images results in nil in closure.

natelyman commented 9 years ago

Can you provide an example? It is working for me.

        ImageLoader.sharedLoader.imageForUrl("http://www.bears24x7.com/images/gallery_photos/large/227/blog_chicago_photographer_michaeljarecki_bears_tailgating_chicago_bears_fan2.jpg", completionHandler: { (image, url) -> () in
            println("Image loaded")
            self.imageView?.image = image
        })
lenichols commented 8 years ago

i am having this same problem... my base64 is stored in a blob...