일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- fileprivate
- SwiftUI
- matchedGeometryEffect
- MVVM
- ios
- @ObservedObject
- The Composable Architecture
- Static Dispatch
- combine
- 이것이나의다정입니다
- Custom URL Scheme
- await
- ScrollViewReader
- Concurrency Programming
- architecture
- App Thinning
- Combine vs Async/Await
- AnyCancellable
- async
- Universal Link
- wwdc23
- SFSafariView
- ScrollViewProxy
- @NameSpace
- @main
- async/await
- swift
- @StateObject
- Dynamic Dispatch
- SwiftData
Archives
- Today
- Total
목록matchedGeometryEffect (1)
홍로그

📖 @NameSpace란? @Namespace는 SwiftUI에서 애니메이션에 사용되는 고유 식별자(ID)를 관리하는 역할을 합니다. 이 식별자는 여러 뷰와 함께 사용되며, 일반적으로 부드럽고 동기화된 애니메이션 효과를 만들기 위한 matchedGeometryEffect 수식어와 함께 사용됩니다. matchedGeometryEffect는 두 뷰 사이의 특정 요소를 동일하게 유지하거나 부드럽게 전환되게 하는 방법을 제공합니다. 이 수식어는 많은 애니메이션 시나리오에서 사용되며, 더욱 쉽게 구현할 수 있습니다. 예시코드 import SwiftUI struct ContentView: View { @Namespace private var animation @State private var isExpanded =..
iOS
2023. 6. 13. 11:45