Skip to content

Commit

Permalink
Update pod version
Browse files Browse the repository at this point in the history
  • Loading branch information
onevcat committed Jul 9, 2015
1 parent 2cc88a0 commit c42cd80
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Kingfisher.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

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.description = <<-DESC
Expand Down
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Kingfisher is a lightweight and pure Swift implemented library for downloading a
## Requirements

* iOS 8.0+ (iOS 8.2+ for Watch App)
* Xcode 6.3
* Xcode 6.3 or above

## Installation

Expand Down Expand Up @@ -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.

```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])
```

Expand All @@ -154,8 +154,8 @@ There are also other options to control the cache level, downloading priority, e
```swift
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])
```

Expand Down Expand Up @@ -199,7 +199,7 @@ Kingfisher will use the default downloader and cache if you do not specify them
let downloader = KingfisherManager.sharedManager.downloader

// 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.
downloader.requestModifier = {
Expand Down Expand Up @@ -256,4 +256,3 @@ 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.

0 comments on commit c42cd80

Please sign in to comment.