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 |
31 |
Tags
- ios
- tableView
- HIG
- MVVM
- 애니메이션
- 스위프트
- map
- Xcode
- swiftUI
- Refactoring
- collectionview
- RxCocoa
- uitableview
- Clean Code
- 리펙터링
- Observable
- swift documentation
- Human interface guide
- 클린 코드
- uiscrollview
- combine
- 리팩토링
- clean architecture
- Protocol
- UICollectionView
- rxswift
- ribs
- 리펙토링
- SWIFT
- UITextView
Archives
- Today
- Total
목록UpdateConstraints (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