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
- 리펙토링
- combine
- 클린 코드
- UITextView
- collectionview
- Xcode
- 애니메이션
- ribs
- SWIFT
- uiscrollview
- swiftUI
- Refactoring
- uitableview
- ios
- Human interface guide
- UICollectionView
- rxswift
- Observable
- MVVM
- HIG
- 리팩토링
- Protocol
- 스위프트
- swift documentation
- RxCocoa
- tableView
- scrollview
- Clean Code
- map
- clean architecture
Archives
- Today
- Total
목록editingStyleForRowAt (1)
김종권의 iOS 앱 개발 알아가기
셀 삭제 기능 활성화 방법 UITableView의 편집모드 중 셀 삭제 - UITableView에서 아무것도 설정 안하고 수정모드에 들어가면 UI는 모두 활성화 버튼에서 tap()이 눌렸을 때 tableView.setEditing(animated:)로 편집모드 설정 @objc private func tap() { let shouldBeEdited = !tableView.isEditing tableView.setEditing(shouldBeEdited, animated: true) editButton.isSelected = shouldBeEdited } 왼쪽에 삭제 UI 버튼이 노출되고, 삭제 버튼을 눌러도 아무런 반응이 없는 상태 셀 삭제 기능 활성화 - delegate 할당 tableView.deleg..
iOS 응용 (swift)
2023. 5. 7. 22:58