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
- ios
- clean architecture
- uiscrollview
- Clean Code
- Xcode
- tableView
- UITextView
- combine
- Protocol
- 애니메이션
- HIG
- collectionview
- Human interface guide
- MVVM
- swift documentation
- map
- Refactoring
- swiftUI
- Observable
- uitableview
- rxswift
- ribs
- SWIFT
- 스위프트
- 리팩토링
- 리펙토링
- RxCocoa
- 클린 코드
- UICollectionView
- 리펙터링
Archives
- Today
- Total
목록2022/05/21 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] RxSwift를 사용하여 가장 단순한 Pagination 처리 방법 (UITableView, UICollectionView, prefetchRow)
예제에 사용한 프레임워크 SnapKit Then RxSwift, RxCocoa Kingfisher Alamofire # UI pod 'SnapKit' pod 'Then' # Util pod 'RxSwift' pod 'RxCocoa' pod 'Kingfisher' # Network pod 'Alamofire' 페이지네이션 아이디어 2가지 1번 방법) 스크롤된 위치를 계산하여, 남은 아래 영역이 프레임의 크기보다 작게 남은 경우, 페이지네이션 실행 2번 방법) delegate 메소드인 tableView(_:prefetchRowAt:) 를 사용하여 prefetch 사용 func tableView(_ tableView: UITableView, prefetchRowsAt indexPaths: [IndexPath]..
iOS 응용 (swift)
2022. 5. 21. 23:24