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 |
Tags
- 클린 코드
- ios
- combine
- UICollectionView
- Protocol
- HIG
- 애니메이션
- ribs
- 리팩토링
- tableView
- SWIFT
- Refactoring
- uitableview
- RxCocoa
- 리펙토링
- UITextView
- Human interface guide
- swiftUI
- 리펙터링
- swift documentation
- rxswift
- 스위프트
- MVVM
- Xcode
- uiscrollview
- map
- Clean Code
- clean architecture
- collectionview
- Observable
Archives
- Today
- Total
목록allowsMultipleSelection (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] allowsMultipleSelection, tableView cell 멀티 선택 방법, checkBox 만드는 방법
CheckBoxCell 구현 isCheck라는 property가 있고, 이 property를 통해 check되면 체크 이미지를 업데이트하고 값을 가지고 있는 상태 // CheckboxCell.swift var isCheck: Bool = false { didSet { let imageName = isCheck ? "checkmark.square" : "checkmark.square.fill" checkBoxButton.setImage(UIImage(systemName: imageName), for: .normal) } } cell이 check되는지 확인은 UITableViewCell에서 제공하는 setSelected(:animated:)를 override하여 사용 // CheckboxCell.swift..
iOS 응용 (swift)
2021. 8. 25. 23:44