
ViewBuilder Closure์์ View๋ฅผ ๊ตฌ์ฑํ๋ custom parameter attribute ๊ทธ๋ผ์ด์ ์์์ ๋งํ ์๋ฅผ๋ค์ด HStack View Builder ๋ ๋ฌด์์ด๋! ๋ค์์ HStack ์ ์ด๋์ ๋ผ์ด์ ์ ๋๋ค. @inlinable public init(alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content: () -> Content) ์ด... body ๋ผ๋ ๋จ์ด๋ ๋ญ๊ฐ ์๋์? ์ var body ๋ง ๊ฐ๋ฅํด์? body ๋ฅผ ์ฌ์ฉํ์ง ์์ผ๋ protocol ์ ์ฑํํ์ง ๋ชปํ๋ค๊ณ ์๋ฌ๊ฐ ๋์ค๋ค์! body ๋ ์์์ ์ผ๋ก @ViewBuilder ๋ก ์ ์ธ๋์ด์๊ธฐ ๋๋ฌธ์ ํด๋ก์ ์์ ๋ทฐ๋ฅผ ๊ตฌ์ฑํ ์..
SwiftUI
2022. 6. 17. 16:50
TAG
- 2022 KAKAO TECH INTERNSHIP
- RxCocoa
- github
- Notification
- WidgetKit
- WWDC
- CloneCoding
- YPImagePicker
- APNS
- ์๋ฒํต์
- MOYA
- OpenSourceLibrary
- WWDC22
- SwiftUI
- rxswift
- projectsetting
- Protocol
- IOS
- Objective-C
- UserDefaults
- Firebase
- Algorithm
- configurable widget
- containerBackground
- async/await
- urlsession
- Widget
- Swift
- watchOS
- MVVM
์ต๊ทผ์ ์ฌ๋ผ์จ ๊ธ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
๊ธ ๋ณด๊ดํจ
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
๋งํฌ
- Total
- Today
- Yesterday