ROThumbnailGenerator
ROThumbnailGenerator copied to clipboard
Will be the web site link ever supported?
Yeah this would be a nice extension. Maybe I am gonna add a solution for that. You could already try to write your own implementation. With the following code you can add your own implementations:
class WebImageThumbnailGenerator : ROThumbnailGenerator {
var supportedExtensions:Array<String> = ["png", "jpg", "jpeg"]
func getThumbnail(url:NSURL) -> UIImage {
// Here fetch the image and return it
}
}
// Add it
ROThumbnail.sharedInstance.addThumbnailGenerator(webImageThumbnailGenerator)