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
- Explict Identity
- xml delegate
- lifecycle
- git
- developer
- lazy 사용
- WWDC21
- swift
- Lazy
- Xcode
- ios login
- Your app is missing support for the following URL schemes: your_ios_client_id
- consuming a restful web service
- Lifetime of SwiftUI
- java
- schemes
- lazy 위험성
- native개발
- Demystify SwiftUI
- Spring
- Identity
- github
- 보라색오류
- sementic versioning
- Structural Identity
- 적절한 사용방법
- spring guide
- ios
- view
- 씨샵언어
Archives
- Today
- Total
목록Lifetime of SwiftUI (1)
Dev_Dylan

WWDC21의 Demtystify SwfitUI의 - Identity - Lifetime - Dependencies 중 Lifetime에 대한 내용 정리 WWDC 21: Demystify SwiftUI 첫번째 포스팅: Identity에 대한 내용 요약 및 정리 1. SwiftUI는 새로운 View가 다시 호출될 때 이전 Value와 바뀔 Value와 복사하여 비교하고 비교가 끝난뒤 소멸한다. 2. View Value, View Identity는 같지 않다. View Value는 일시적이기 때문에 Lifetime에 의존하면 안된다. 3. View Lifetime은 Identity의 지속 시간을 따라간다. 4. Children View 의 View가 지속적으로 랜더링 되더라도, View Value를 유지하기..
iOS/SwiftUI
2024. 1. 28. 17:42