From 11e5fe6fae07e8576f1f800ce61fd51fbf0700fd Mon Sep 17 00:00:00 2001 From: Ryan Ramchandar Date: Sat, 5 Dec 2015 21:34:57 -0600 Subject: [PATCH] Replace println() with print() --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 568e1d95f..ca5182eec 100644 --- a/README.md +++ b/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)") } ``` @@ -290,4 +290,4 @@ Follow and contact me on [Twitter](http://twitter.com/onevcat) or [Sina Weibo](h ## License -Kingfisher is released under the MIT license. See LICENSE for details. \ No newline at end of file +Kingfisher is released under the MIT license. See LICENSE for details.