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
- 리팩토링
- ribs
- tableView
- swift documentation
- Xcode
- Refactoring
- SWIFT
- ios
- combine
- 클린 코드
- Human interface guide
- collectionview
- rxswift
- uitableview
- Clean Code
- HIG
- 애니메이션
- clean architecture
- UICollectionView
- Observable
- Protocol
- 스위프트
- map
- 리펙토링
- scrollview
- swiftUI
- uiscrollview
- UITextView
- RxCocoa
- MVVM
Archives
- Today
- Total
목록canEditRowAtIndexPath (1)
김종권의 iOS 앱 개발 알아가기
사용한 프레임워크 RxSwift RxCocoa RxDataSources 구현 아이디어 RxDataSources의 인스턴스가 가지고 있는 canEditRowAtIndexPath라는 프로퍼티를 사용하여 delete 기능 활성화 dataSource.canEditRowAtIndexPath = { _, _ in true } tableView의 rx.itemDeleted를 바인딩하여 처리 self.tableView.rx.itemDeleted .bind { ... } RxDataSource를 사용한 UITableView 구현 예제에 사용할 SectionModel Section의 데이터는 사용하지 않을 것이지만, section이 존재할때 어떻게 사용되는지를 예를 위해 존재 import RxDataSources stru..
iOS 응용 (swift)
2022. 6. 23. 22:27