Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rudifa/fbdictdemo
Demo of the FileBackedDictionary
https://github.com/rudifa/fbdictdemo
Last synced: 24 days ago
JSON representation
Demo of the FileBackedDictionary
- Host: GitHub
- URL: https://github.com/rudifa/fbdictdemo
- Owner: rudifa
- Created: 2024-09-16T22:00:40.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-17T22:45:32.000Z (2 months ago)
- Last Synced: 2024-10-06T01:41:25.191Z (about 1 month ago)
- Language: Swift
- Size: 1.68 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo of struct FileBackedDictionary
The `FileBackedDictionary` is defined in the SPM package [RudifaUtilPkg](https://github.com/rudifa/RudifaUtilPkg) by [@rudifa](https://github.com/rudifa).
This project started as a SwiftUI app demonstrating how `FileBackedDictionary` is used to persist data between app stops and restarts.
It has been extended to learn how to capture photos with the iPhone camera and manage image view sizes and positions the SwiftUI way.
The app allows you to take photos with the camera and store them in an album.
The album is persisted in a file and reloaded when the app is restarted.
Here is a preview of the app: