[TCA] SharedState의 UserDefaults 확장하기 (CodableAppStorageKey)

TCA에서 사용되는 [SharedState](http://Sharing%20state Learn techniques for sharing state throughout many parts of your application, and how to persist data to user defaults, the file system, and other external mediums. Overview Sharing state is the process of letting many features have access to the same data so that when any feature makes a change to this data it is instantly visible to every other feature. Such sharing can be really handy, but also does not play nicely with value types, which are copied rather than shared. Because the Composable Architecture highly prefers modeling domains with value types rather than reference types, sharing state can be tricky. This is why the library comes with a few tools for sharing state with many parts of your application. There are two main kinds of shared state in the library: explicitly passed state and persisted state. And there are 3 persistence strategies shipped with the library: in-memory, user defaults, and file storage. You can also implement your own persistence strategy if you want to use something other than user defaults or the file system, such as SQLite.)에 대한 내용입니다. ...

2024년 7월 18일 · 5 min · leetaek

[Tuist] Xcode Cloud 적용하기 (SwiftLint, FirebaseCrashlytics)

사이드 프로젝트에 Xcode Cloud를 적용해보면서 겪은 과정을 정리한 글입니다. Xcode Cloud에 대한 소개와 사용법 보다는 Tuist로 관리되는 프로젝트를 Xcode Cloud 환경에 맞게 설정한 내용을 기록하기 위해 적었습니다. ...

2024년 5월 23일 · 4 min · leetaek