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
- collectionview
- HIG
- SWIFT
- Clean Code
- combine
- 스위프트
- RxCocoa
- Xcode
- rxswift
- UICollectionView
- uitableview
- ribs
- uiscrollview
- 애니메이션
- Protocol
- MVVM
- 리팩토링
- map
- 리펙토링
- clean architecture
- swift documentation
- 리펙터링
- tableView
- UITextView
- 클린 코드
- ios
- Human interface guide
- Observable
- Refactoring
- swiftUI
Archives
- Today
- Total
목록setCustomSpacing (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] StackView 내부 view간의 spacing 설정 방법
spacing 설정 방법 균등한 경우 - storyboard에서 설정 "스택뷰 안 데이터1"과 "스택뷰 안 데이터2"사이의 간격을 30으로 하고 싶은 경우 -> stackView.setCustomSpacing(_:after) 함수 사용 @IBoutlet 준비: 스택뷰와 데이터1 space 설정 func setupView() { stackView.setCustomSpacing(30, after: lbl1) } 결과화면 데이터1과 데이터2 사이 간격이 30인 것 확인
iOS 응용 (swift)
2021. 2. 19. 23:32