Back to all

swiftui-repository-cache

by kyungseok.lee

00Feb 6, 2026Visit Source
SwiftUI(iOS 17+) 프로젝트에서 Repository + Cache(actor) 계층을 표준화한다. DTO↔Domain 매핑 위치, 캐시 정책(TTL/만료/강제갱신), 동시성 안전 규칙을 강제하며, Store/View에서 데이터 접근이 섞이지 않게 한다.