일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Protocol
- uiscrollview
- Human interface guide
- 클린 코드
- map
- clean architecture
- UICollectionView
- RxCocoa
- tableView
- HIG
- 스위프트
- 리펙토링
- Observable
- Refactoring
- ios
- ribs
- 리펙터링
- collectionview
- Xcode
- UITextView
- swiftUI
- MVVM
- SWIFT
- Clean Code
- combine
- 리팩토링
- 애니메이션
- rxswift
- swift documentation
- uitableview
- Today
- Total
목록headerview (2)
김종권의 iOS 앱 개발 알아가기
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/2NiCY/btsIyAj7Jn2/1yMLLkrYihATJZGLH1TaY0/img.gif)
headerView 색상headerView의 색상 backgroundColor를 아래처럼 clear라고 설정한 상태에서, 스크롤 하여 header가 sticky될때 색상이 자동으로 lightGray색상으로 변함import UIKitclass HeaderView: UITableViewHeaderFooterView { ... override init(reuseIdentifier: String?) { super.init(reuseIdentifier: reuseIdentifier) contentView.backgroundColor = .clear // tableView의 스타일 중 디폴트인, plain상태에서는 위처럼 보이고 grouped 상태에서는 아래처럼 backg..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/qO65r/btrvbftRkQR/nqV71j0FbXBKGYuSapPpu1/img.png)
1. UICollectionView의 SupplementaryView(HeaderView, FooterView, UICollectionReusableView) 2. UICollectionView의 DecorationView, SupplementaryView 커스텀 Layout SupplementaryView 개념 SupplementaryView는 UITableView에서의 Header와 Footer와 동일한 개념 Section 하나에 위 or 아래에 위치하는 뷰 * 아래부터 예시 코드들은 UI들을 편리하게 작성하기 위해 아래 프레임워크 사용 pod 'SnapKit' pod 'Then' SupplementaryView에 사용할 커스텀뷰 UITableView에서는 HeaderView or FoorterVie..