일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- tableView
- 애니메이션
- ios
- Protocol
- 리펙토링
- uiscrollview
- SWIFT
- Clean Code
- swiftUI
- swift documentation
- MVVM
- UICollectionView
- combine
- Human interface guide
- rxswift
- Refactoring
- ribs
- RxCocoa
- uitableview
- UITextView
- 리펙터링
- Xcode
- HIG
- map
- 클린 코드
- 리팩토링
- 스위프트
- collectionview
- Observable
- clean architecture
- Today
- Total
목록programmatically (2)
김종권의 iOS 앱 개발 알아가기
* custom view (xib) 참고: ios-development.tistory.com/391 custom view 생성 접근 stored property를 사용하며 클로저를 통해 개별 컴포넌트의 속성과 translatesAutoresizingMaskIntoConstraints = false로 설정 init(frame:)과 init(coder:)에서 각각 setupLayout()을 호출하여, 개별 컴포넌트들의 레이아웃 결정 - xib를 이용하면 이부분에서 nib를 이용하여 view를 새로 생성하는 과정이 있지만 코드로만 할 경우 필요 x custom view 생성 class SampleView: UIView { // component 속성 정의 // init // setupLayout } 개별 컴포..
(위와 같이 데이터가 없는 곳에도 줄 간격이 생기므로, 이것을 제거하려면 다음 코드를 추가) self.tableView.separatorStyle = .none * table view를 custom 한다는 것 UITableViewCell을 상속받아서 custom 1. UITableCell을 상속받아서 custom - contentView.addSubview(객체)로 추가, autolayout 설정, 56~57 라인 2. UITableView객체 생성 및 초기화 1) 기존 UItableView객체에 등록할 것 : custom한 cell의 classForCoder()를 선언, 16번 라인 객체.register(CSTableCell.classForCoder(), foeCellReuseIdentifier: "m..