Procházet zdrojové kódy

Replace println() with print()

Ryan Ramchandar před 10 roky
rodič
revize
11e5fe6fae
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      README.md

+ 4 - 4
README.md

@@ -205,10 +205,10 @@ imageView.kf_setImageWithURL(NSURL(string: "your_image_url")!,
                          placeholderImage: nil,
                          placeholderImage: nil,
                               optionsInfo: nil,
                               optionsInfo: nil,
                             progressBlock: { (receivedSize, totalSize) -> () in
                             progressBlock: { (receivedSize, totalSize) -> () in
-                                println("Download Progress: \(receivedSize)/\(totalSize)")
+                                print("Download Progress: \(receivedSize)/\(totalSize)")
                             },
                             },
                         completionHandler: { (image, error, imageURL) -> () in
                         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.
 // Get the disk size taken by the cache.
 cache.calculateDiskCacheSizeWithCompletionHandler { (size) -> () in
 cache.calculateDiskCacheSizeWithCompletionHandler { (size) -> () in
-    println("disk size in bytes: \(size)")
+    print("disk size in bytes: \(size)")
 }
 }
 ```
 ```
 
 
@@ -290,4 +290,4 @@ Follow and contact me on [Twitter](http://twitter.com/onevcat) or [Sina Weibo](h
 
 
 ## License
 ## License
 
 
-Kingfisher is released under the MIT license. See LICENSE for details.
+Kingfisher is released under the MIT license. See LICENSE for details.