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
- ribs
- Clean Code
- map
- HIG
- Observable
- 애니메이션
- swiftUI
- ios
- RxCocoa
- combine
- 리펙토링
- uiscrollview
- UITextView
- Refactoring
- MVVM
- UICollectionView
- collectionview
- SWIFT
- 클린 코드
- uitableview
- Human interface guide
- Protocol
- tableView
- swift documentation
- clean architecture
- rxswift
- Xcode
- 스위프트
- 리펙터링
- 리팩토링
Archives
- Today
- Total
목록레이아웃 업데이트 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] 뷰가 화면에 그려지는 원리, UpdateConstraints, layoutSubviews, draw 개념 (+ main run loop, run loop)
UIView에는 updateConstraints(), layoutSubviews(), draw(_:) 메소드가 존재 3가지를 이해하려면 아래 뷰가 그려지는 원리를 이해하는게 필요 import UIKit final class MyView: UIView { override func updateConstraints() { super.updateConstraints() print("updateConstraints()") } override func layoutSubviews() { super.layoutSubviews() print("layoutSubviews()") } override func draw(_ rect: CGRect) { super.draw(rect) print("draw(rect:)") } } ..
iOS 기본 (swift)
2022. 6. 8. 01:03