A Swift macro package for crash-safe, schema-evolvable state serialization.
JCState is a Swift macro library that enables crash-proof serialization of app state structs by automatically generating code to handle missing fields from older data versions with defaults.
How It Works
Your app suddenly crashes when trying to load old saved settings after adding new features like a new color option.
You discover JCState, a helpful tool that keeps your saved data safe even as your app changes and grows.
With one simple mark on your settings list, it automatically handles old and new data without any extra work.
Save your users' choices like themes and sizes to a file, and only the changed parts get stored to keep it light.
Freely add new options like font styles later, knowing old saves won't break anything.
When users update your app, their old settings load perfectly, filling in new defaults where needed.
Your app evolves effortlessly, delighting users with seamless updates and no frustrating crashes ever again.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.