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
- UITextView
- ios
- 애니메이션
- UICollectionView
- rxswift
- tableView
- 리펙토링
- Xcode
- Clean Code
- collectionview
- 리팩토링
- uitableview
- Protocol
- 스위프트
- map
- MVVM
- uiscrollview
- combine
- Human interface guide
- SWIFT
- 리펙터링
- clean architecture
- RxCocoa
- Refactoring
- HIG
- Observable
- 클린 코드
- ribs
- swift documentation
- swiftUI
Archives
- Today
- Total
목록동적 높이 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] self resizing cell, dynamic cell, flexible cell (cell크기에 따라 자동으로 cell height 조정, stackView 이용)
stackView를 이용하여 self-resizing-cell 구현 방법 cell을 선택하면 stackView에 있는 star imageView를 hidden = false하여 생성되게끔 설정 override func setSelected(_ selected: Bool, animated: Bool) { super.setSelected(selected, animated: animated) updateSelectedCell(selected) } private func updateSelectedCell(_ selected: Bool) { imageContainerView.isHidden = !selected } tableView의 delegate 설정 주의: tableView(_:heightForRowAt:)..
iOS 응용 (swift)
2021. 9. 13. 01:15