This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Kingfisher | |
import ReactiveCocoa | |
import enum Result.NoError | |
extension KingfisherManager { | |
func rac_retrieveImageWithURL(URL: NSURL, | |
optionsInfo: KingfisherOptionsInfo?, | |
progressBlock: DownloadProgressBlock?) -> SignalProducer<(image: UIImage?, cacheType: CacheType, imageURL: NSURL?), NSError> { | |
return SignalProducer { observer, disposable in | |
NewerOlder