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 |
Tags
- uiscrollview
- HIG
- rxswift
- scrollview
- UICollectionView
- Human interface guide
- map
- 스위프트
- 리팩토링
- swiftUI
- Observable
- swift documentation
- UITextView
- 리펙토링
- MVVM
- 애니메이션
- collectionview
- RxCocoa
- clean architecture
- 클린 코드
- ios
- uitableview
- Xcode
- Clean Code
- ribs
- Refactoring
- SWIFT
- combine
- tableView
- Protocol
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