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
- Refactoring
- Protocol
- 클린 코드
- MVVM
- collectionview
- Clean Code
- 리펙터링
- UICollectionView
- swift documentation
- combine
- uiscrollview
- SWIFT
- rxswift
- UITextView
- ios
- 리펙토링
- 애니메이션
- map
- ribs
- HIG
- 스위프트
- clean architecture
- Observable
- Human interface guide
- RxCocoa
- tableView
- Xcode
- swiftUI
- 리팩토링
- uitableview
Archives
- Today
- Total
목록이미지 로딩 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] TableView 캐시를 이용한 효율적인 이미지 로딩 방법 (async, cache)
* URLSession 개념 참고 * NSCache 개념 참고 TableView에서 refresh시 데이터 요청 dataSource는 [AnyObject]형태 title과 같은 것은 dataSource안에 포함 되어 있지만 이미지같은 경우는 dataSource중 url link를 통해 이미지 획득 url link를 통해 이미지를 획득할때 시간이 오래걸리므로 cellForRowAt에서 cache와 async방법으로 접근 class ViewController: UIViewController { lazy var refreshControl: UIRefreshControl = { let control = UIRefreshControl() control.addTarget(self, action: #selector(..
iOS 응용 (swift)
2021. 8. 10. 23:41