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
- 리펙토링
- uitableview
- UITextView
- map
- clean architecture
- UICollectionView
- collectionview
- combine
- swiftUI
- Observable
- 애니메이션
- Clean Code
- Refactoring
- 클린 코드
- 리팩토링
- RxCocoa
- uiscrollview
- scrollview
- Protocol
- HIG
- SWIFT
- swift documentation
- rxswift
- 클로드코드
- MVVM
- Xcode
- Human interface guide
- ios
- tableView
- 스위프트
Archives
- Today
- Total
목록anyview (1)
김종권의 iOS 앱 개발 알아가기
[iOS - SwiftUI] 뷰 주입받는 방법 (Generics, AnyView)
뷰 주입받는 방법 3가지 특성단점 1. generics최적화 유지, 타입 안전뷰 타입이 고정됨⭐ 추천2. AnyView동적 뷰 변경 가능성능 저하 가능성⚠️ 가능하면 피할 것1. generics 방법View를 준수하는 타입으로 한정하여, 제네릭을 선언하는 방식최적화가 유지되는 장점// 주입받은 뷰를 표시하는 컨테이너struct ContainerView: View { let content: Content var body: some View { VStack { Text("현재 뷰") .font(.headline) content } .padding() .background(Color...
iOS 응용 (SwiftUI)
2025. 3. 12. 01:13