File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66# PIImageCache
77
8- ## NSURL -> UIImage with cache (swift)
8+ ### NSURL -> UIImage with cache (swift)
99
1010![ ] ( https://cocoapod-badges.herokuapp.com/l/PIImageCache/badge.png )
1111![ ] ( https://cocoapod-badges.herokuapp.com/v/PIImageCache/badge.png )
@@ -46,22 +46,22 @@ func applicationDidEnterBackground(application: UIApplication) {
4646
4747# basic usage
4848
49- ## NSURL extension
49+ ### NSURL extension
5050
5151``` NSURL.swift
5252let url = NSURL (string : " http://place-hold.it/200x200" )!
5353let image = url.getImageWithCache ()
5454```
5555
56- ## UIImageView extension
56+ ### UIImageView extension
5757
5858``` UIImageView.swift
5959let url = NSURL (string : " http://place-hold.it/200x200" )!
6060let imgView = UIImageView ()
6161imgView.imageOfURL (url)
6262```
6363
64- ## for background
64+ ### for background
6565
6666``` PIImageCache.swift
6767let url = NSURL (string : " http://place-hold.it/200x200" )!
@@ -71,7 +71,7 @@ image = cache.get(url)!
7171
7272# advanced usage
7373
74- ## configurable
74+ ### configurable
7575
7676``` Config.swift
7777let cache = PIImageCache.shared
You can’t perform that action at this time.
0 commit comments