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