일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Xcode
- simulator
- swift
- 얻는법
- Bitcode
- Check
- IOS
- push
- loop
- 아이폰7
- swift3
- 페이백
- UITableView
- 포켓볼
- 신도림 테크노마트
- 포켓몬 GO
- GCD
- 공략
- 스마트폰
- 보라카이
- 샘플
- UIView
- 해몽
- Example
- 신도림
- LG유플러스
- setting
- afterdelay
- error
- 앱스토어
- 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, ..