일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- UITextView
- uiscrollview
- ios
- Refactoring
- SWIFT
- 애니메이션
- HIG
- Protocol
- 클린 코드
- clean architecture
- MVVM
- RxCocoa
- UICollectionView
- tableView
- Observable
- swiftUI
- Clean Code
- rxswift
- combine
- 리펙토링
- 스위프트
- 리팩토링
- 리펙터링
- collectionview
- uitableview
- Human interface guide
- swift documentation
- Xcode
- map
- ribs
- Today
- Total
목록CustomCell (2)
김종권의 iOS 앱 개발 알아가기
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dPDtDR/btq6qoNZHtR/UpZo2WVJxOeABXDKkR0bX0/img.png)
1. collectionView 개념 2. collectionView 구현, custom cell 3. collectionView 레이아웃 개념 (UICollectionViewFlowLayout) * CollectionView(컬레션 뷰) - self resizing cell, custom Layout 방법 참고: https://ios-development.tistory.com/629 UICollectionViewFlowLayout CollectionView에는 CollectionViewLayout라는 객체가 있고, 이 객체가 cell들의 레이아웃과 스타일을 담당 크게 FlowLayout과 CustomLayout이 존재 FlowLayout: default되어 있는 옵션 customLayout: 직접 La..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/F4OVW/btq3UbMeIfC/n8FIIckvfPN7bsEeyD4ueK/img.png)
Cell에 매핑될 모델 추가 struct CustomCellModel { let leftImage: UIImage let leftTitle: String } Custom Cell 추가 id 정의 class CustomCell: UITableViewCell { static let identifier = "CustomCell" } 나머지 뷰 정의 주의: hugging, compression값 설정 참고 // CustomCell.swift lazy var stackView: UIStackView = { let stackView = UIStackView(arrangedSubviews: [leftImageView, leftLabel, rightButton]) contentView.addSubview(stackVi..