Procházet zdrojové kódy

Update pod version

onevcat před 10 roky
rodič
revize
c42cd803cf
2 změnil soubory, kde provedl 7 přidání a 8 odebrání
  1. 1 1
      Kingfisher.podspec
  2. 6 7
      README.md

+ 1 - 1
Kingfisher.podspec

@@ -1,7 +1,7 @@
 Pod::Spec.new do |s|
 Pod::Spec.new do |s|
 
 
   s.name         = "Kingfisher"
   s.name         = "Kingfisher"
-  s.version      = "1.4.1"
+  s.version      = "1.4.2"
   s.summary      = "A lightweight and pure Swift implemented library for downloading and cacheing image from the web."
   s.summary      = "A lightweight and pure Swift implemented library for downloading and cacheing image from the web."
 
 
   s.description  = <<-DESC
   s.description  = <<-DESC

+ 6 - 7
README.md

@@ -25,7 +25,7 @@ Kingfisher is a lightweight and pure Swift implemented library for downloading a
 ## Requirements
 ## Requirements
 
 
 * iOS 8.0+ (iOS 8.2+ for Watch App)
 * iOS 8.0+ (iOS 8.2+ for Watch App)
-* Xcode 6.3
+* Xcode 6.3 or above
 
 
 ## Installation
 ## Installation
 
 
@@ -144,8 +144,8 @@ imageView.kf_setImageWithURL(NSURL(string: "http://your_image_url.png")!, placeh
 Kingfisher will search in cache (both memory and disk) first with the URL, if no image found, it will try to download and store the image in the cache. You can change this behavior by passing an option dictionary, to let it ignore the cache.
 Kingfisher will search in cache (both memory and disk) first with the URL, if no image found, it will try to download and store the image in the cache. You can change this behavior by passing an option dictionary, to let it ignore the cache.
 
 
 ```swift
 ```swift
-imageView.kf_setImageWithURL(NSURL(string: "your_image_url")!, 
-                         placeholderImage: nil, 
+imageView.kf_setImageWithURL(NSURL(string: "your_image_url")!,
+                         placeholderImage: nil,
                               optionsInfo: [.Options: KingfisherOptions.ForceRefresh])
                               optionsInfo: [.Options: KingfisherOptions.ForceRefresh])
 ```
 ```
 
 
@@ -154,8 +154,8 @@ There are also other options to control the cache level, downloading priority, e
 ```swift
 ```swift
 let myCache = ImageCache(name: "my_cache")
 let myCache = ImageCache(name: "my_cache")
 
 
-imageView.kf_setImageWithURL(NSURL(string: "your_image_url")!, 
-                         placeholderImage: nil, 
+imageView.kf_setImageWithURL(NSURL(string: "your_image_url")!,
+                         placeholderImage: nil,
                               optionsInfo: [.TargetCache: myCache])
                               optionsInfo: [.TargetCache: myCache])
 ```
 ```
 
 
@@ -199,7 +199,7 @@ Kingfisher will use the default downloader and cache if you do not specify them
 let downloader = KingfisherManager.sharedManager.downloader
 let downloader = KingfisherManager.sharedManager.downloader
 
 
 // Download process will timeout after 5 seconds. Default is 15.
 // Download process will timeout after 5 seconds. Default is 15.
-downloader.downloadTimeout = 5 
+downloader.downloadTimeout = 5
 
 
 // requestModifier will be called before image download request made.
 // requestModifier will be called before image download request made.
 downloader.requestModifier = {
 downloader.requestModifier = {
@@ -256,4 +256,3 @@ 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.
-