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