Releases: mattcomi/PersistentObject
Releases · mattcomi/PersistentObject
Swift 4
Renamed Strategy to Repository
Merge pull request #5 from mattcomi/repositories Renamed Strategy to Repository
External Change Support
Merge pull request #4 from mattcomi/internal-strategies Updated to 0.3
Added Mac Target
0.2.2 Fixed iOS deployment target version
Strategies
Added the ability to specify how a PersistentObject
is persisted.
Before:
let obj = PersistentObject<Person>(key: "personKey")
After:
let obj = PersistentObject<Person>(strategy: UserDefaultsStrategy(key: "personKey"))