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
- SWIFTUI
- 글또
- ScrollView
- http
- apns
- viewlifecycle
- SWIFT
- array
- list
- NotificationCenter
- mvvm
- Animation
- calendar
- IOS
- PushNotification
- struct
- error
- uikit
- protocol
- class
- Switch
- segue
- Refresh
- 화면전환
- Git
- self
- Observer
- escaping
- singleton
- 고차함수
Archives
- Today
- Total
목록AutoLayout (1)
seong_hye, the developer

📘 Swift 문법 정리: AutoLayout vs FrameAuto Layout 과 frame은 뷰의 위치와 크기를 설정하는 두 가지 방식이다각각에 대해 한 번 알아보자 🔹 Auto Layout 이란?뷰들 간의 관계(제약 조건)를 통해 위치/크기를 자동으로 계산하는 시스템기기의 화면 크기, 회전, 콘텐츠에 따라 동적으로 레이아웃을 조정할 수 있다. 🔍 사용 예시import UIKitclass ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let label = UILabel() label.text = "안녕하세요" label.backgrou..
IOS
2022. 7. 19.