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
- Human interface guide
- combine
- 클린 코드
- 리펙토링
- tableView
- uitableview
- clean architecture
- Xcode
- RxCocoa
- map
- uiscrollview
- 리펙터링
- 리팩토링
- MVVM
- Observable
- HIG
- Protocol
- 스위프트
- collectionview
- rxswift
- 애니메이션
- Clean Code
- ribs
- UICollectionView
- ios
- swiftUI
- SWIFT
- UITextView
- swift documentation
- Refactoring
Archives
- Today
- Total
목록swipe to delete (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] RxDataSources 스와이프하여 삭제 (swipe to delete) 적용 방법, UITableView
사용한 프레임워크 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