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
- map
- Clean Code
- Human interface guide
- 리펙토링
- tableView
- HIG
- ios
- clean architecture
- 스위프트
- uitableview
- 클린 코드
- RxCocoa
- Xcode
- UICollectionView
- Observable
- ribs
- MVVM
- swift documentation
- combine
- Refactoring
- uiscrollview
- 리펙터링
- SWIFT
- 리팩토링
- rxswift
- UITextView
- collectionview
- swiftUI
- Protocol
- 애니메이션
Archives
- Today
- Total
목록2022/07/29 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swiftUI] View Protocol (뷰 프로토콜)
목차) SwiftUI의 기본 - 목차 링크 View Protocol View 프로토콜 프로토콜이고, body라는 computed property를 가지고 있는 타입 view를 입력할 수 있게하는 인터페이스를 제공하는 역할 @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *) public protocol View { associatedtype Body : View @ViewBuilder var body: Self.Body { get } } @ViewBuilder @resultBuilder를 사용하여 정의한 struct 형 @resultBuilder는 swift5.4에서부터 나온 api이며, 개념은 이전 포스팅 글 참고 (@resultBuilder를 사..
iOS 기본 (SwiftUI)
2022. 7. 29. 21:53