2
0
Эх сурвалжийг харах

Merge pull request #168 from RyanRamchandar/patch-1

Replace println() with print()
Wei Wang 10 жил өмнө
parent
commit
f0d0d7e5f9
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -205,10 +205,10 @@ imageView.kf_setImageWithURL(NSURL(string: "your_image_url")!,
                          placeholderImage: nil,
                               optionsInfo: nil,
                             progressBlock: { (receivedSize, totalSize) -> () in
-                                println("Download Progress: \(receivedSize)/\(totalSize)")
+                                print("Download Progress: \(receivedSize)/\(totalSize)")
                             },
                         completionHandler: { (image, error, imageURL) -> () in
-                            println("Downloaded and set!")
+                            print("Downloaded and set!")
                         }
 )
 ```
@@ -259,7 +259,7 @@ cache.maxCachePeriodInSecond = 60 * 60 * 24 * 3
 
 // Get the disk size taken by the cache.
 cache.calculateDiskCacheSizeWithCompletionHandler { (size) -> () in
-    println("disk size in bytes: \(size)")
+    print("disk size in bytes: \(size)")
 }
 ```