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
- scrollview
- Refactoring
- collectionview
- uiscrollview
- map
- Human interface guide
- rxswift
- UITextView
- RxCocoa
- SWIFT
- swift documentation
- Observable
- 리팩토링
- UICollectionView
- ios
- Protocol
- 애니메이션
- combine
- 스위프트
- tableView
- Xcode
- clean architecture
- swiftUI
- MVVM
- 리펙토링
- 클린 코드
- ribs
- uitableview
- Clean Code
- HIG
Archives
- Today
- Total
목록setSelected (1)
김종권의 iOS 앱 개발 알아가기
Cell 선택 UI 설정 방법 custom cell이 있다면 custom cell의 setSelected(:animated:) 함수에서 사용 tableView가 표출될때 초기에는 모든 cell이 선택되지 않은 상태 하나를 선택하면 나머지 cell이 선택되지 않은 상태가 되고 해당 cell 하나만 선택되게끔 내부적으로 동작 // 선택, 미선택에 따라 cell의 테두리 색깔을 다르게 하는 부분 // UITableViewCell을 상속받은 customCell안에서 override override func setSelected(_ selected: Bool, animated: Bool) { super.setSelected(selected, animated: animated) if selected { conten..
iOS 응용 (swift)
2021. 8. 6. 02:34