     fileprivate func kf_setImageTask(_ task: RetrieveImageTask?) { kf.setImageTask(task) }
     @available(*, deprecated, message: "Extensions directly on image views are deprecated.", renamed: "kf.setWebURL")
     fileprivate func kf_setWebURL(_ url: URL) { kf.setWebURL(url) }
-    @available(*, deprecated, message: "Extensions directly on image views are deprecated.", renamed: "kf.shouldPreloadAllGIF")
-    func shouldPreloadAllGIF() -> Bool { return kf.shouldPreloadAllGIF() }
-}
+}
+
+extension ImageView {
+    func shouldPreloadAllGIF() -> Bool { return true }
+}

        
        setWebURL(resource.downloadURL)

        if shouldPreloadAllGIF() {
            options.append(.preloadAllGIFData)
        }
        

    public func cancelDownloadTask() {
        imageTask?.downloadTask?.cancel()
    }
}

// MARK: - Associated Object
