Kaynağa Gözat

added comments

kt 8 yıl önce
ebeveyn
işleme
453c793eca
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      Sources/ImageCache.swift

+ 2 - 1
Sources/ImageCache.swift

@@ -234,7 +234,8 @@ open class ImageCache {
     - parameter key:               Key for the image.
     - parameter identifier:        The identifier of processor used. If you are using a processor for the image, pass the identifier of processor to it.
                                    This identifier will be used to generate a corresponding key for the combination of `key` and processor.
-    - parameter fromDisk:          Whether this image should be removed from disk or not. If false, the image will be only removed from memory.
+    - parameter fromMemory:        Whether this image should be removed from memory or not. If false, the image won't be removed from memory.
+    - parameter fromDisk:          Whether this image should be removed from disk or not. If false, the image won't be removed from disk.
     - parameter completionHandler: Called when removal operation completes.
     */
     open func removeImage(forKey key: String,