Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 보라카이
- Bitcode
- IOS
- 포켓볼
- loop
- push
- error
- 신도림 테크노마트
- 아이폰7
- 스마트폰
- 공략
- swift
- 해몽
- Example
- simulator
- 앱스토어
- GCD
- setting
- 얻는법
- swift3
- LG유플러스
- afterdelay
- Check
- UITableView
- 페이백
- 포켓몬 GO
- Xcode
- 신도림
- 샘플
- UIView
Archives
- Today
- Total
목록Cash (1)
도래울
swift image cash
let imageCache = NSCache() extension UIImageView { func loadImageUsingCache(withUrl urlString : String) { let url = URL(string: urlString) self.image = nil // check cached image if let cachedImage = imageCache.object(forKey: urlString as NSString) as? UIImage { self.image = cachedImage return } // if not, download image from url URLSession.shared.dataTask(with: url!, completionHandler: { (data, ..
개발/iOS
2018. 2. 27. 14:25