forked from Haneke/Haneke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Haneke.podspec
32 lines (29 loc) · 1.33 KB
/
Haneke.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Pod::Spec.new do |s|
s.name = 'Haneke'
s.version = '1.0.1'
s.license = 'Apache 2.0'
s.summary = 'A lightweight zero-config image cache for iOS.'
s.description = <<-DESC
Haneke resizes images and caches the result on memory and disk. Everything is done in background, allowing for fast, responsive scrolling. Asking Haneke to load, resize, cache and display an appropriately sized image is as simple as:
`[imageView hnk_setImageFromURL:url];`
### Features
* First-level memory cache using NSCache.
* Second-level LRU disk cache using the file system.
* Zero-config UIImageView and UIButton categories to use the cache, optimized for UITableView and UICollectionView cell reuse.
* Asynchronous image retrieval.
* Background image resizing and file reading.
* Image decompression.
* Custom image transformations before and after resizing.
* Thread-safe.
* Automatic cache eviction on memory warnings or disk capacity reached.
* Preloading images from the disk cache into memory on startup.
DESC
s.homepage = 'https://github.com/hpique/Haneke'
s.author = 'Hermes Pique'
s.social_media_url = 'https://twitter.com/hpique'
s.source = { :git => 'https://github.com/Haneke/Haneke.git', :tag => "v#{s.version}" }
s.platform = :ios, '7.0'
s.requires_arc = true
s.source_files = 'Haneke/*.{h,m}'
s.framework = 'ImageIO'
end