일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- loop
- 스마트폰
- push
- 포켓몬 GO
- 샘플
- 신도림 테크노마트
- setting
- Bitcode
- 포켓볼
- afterdelay
- 얻는법
- 앱스토어
- 보라카이
- swift
- GCD
- 해몽
- 신도림
- simulator
- error
- Example
- swift3
- IOS
- 공략
- LG유플러스
- UIView
- UITableView
- 아이폰7
- Check
- 페이백
- Xcode
- Today
- Total
도래울
extension UIViewController { func showToast(message : String) { let toastLabel = UILabel(frame: CGRect(x: self.view.frame.size.width/2 - 75, y: self.view.frame.size.height-100, width: 150, height: 35)) toastLabel.backgroundColor = UIColor.black.withAlphaComponent(0.6) toastLabel.textColor = UIColor.white toastLabel.textAlignment = .center; toastLabel.font = UIFont(name: "Montserrat-Light", size:..
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, ..