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
- swift documentation
- Observable
- clean architecture
- Refactoring
- 리펙터링
- collectionview
- Human interface guide
- Protocol
- 리팩토링
- 클린 코드
- UITextView
- UICollectionView
- uiscrollview
- map
- ios
- 스위프트
- rxswift
- tableView
- swiftUI
- 리펙토링
- HIG
- uitableview
- Xcode
- combine
- MVVM
- Clean Code
- 애니메이션
- RxCocoa
- SWIFT
- ribs
Archives
- Today
- Total
목록tranlateAutoresizingMaskIntoConstraints (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] Custom View (only code)
* 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 } 개별 컴포..
iOS 응용 (swift)
2021. 4. 2. 02:04