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
- 클린 코드
- RxCocoa
- Refactoring
- 리팩토링
- 리펙토링
- 애니메이션
- map
- 스위프트
- uiscrollview
- combine
- MVVM
- HIG
- UITextView
- clean architecture
- collectionview
- 클로드코드
- Observable
- uitableview
- swiftUI
- scrollview
- tableView
- rxswift
- UICollectionView
- ios
- Xcode
- Human interface guide
- Clean Code
- swift documentation
- Protocol
- SWIFT
Archives
- Today
- Total
목록layoutMargins (1)
김종권의 iOS 앱 개발 알아가기
스위프트에서의 layoutMagins 개념 현재 뷰의 경계와 content와의 여백 개념 혼동 주의: 현재 뷰 경계와 superview와의 여백이 아님을 주의 storyboard에서 layoutMargins 확인 방법 Editor > Canvas >Layout Rectangles layout 설정 시 "Constrain to margins" 옵션을 체크한 후 autolayout적용 시 view 내부에 margin값을 고려한 배치 cf) code에서 layoutMarginsGuide 주는 방법: layoutMarginsGuide. 으로 접근 imageView.leadingAnchor.constraint(equalTo: layoutMarginsGuide.leadingAnchor) 내부 label이 margi..
iOS 기본 (swift)
2021. 8. 27. 21:29