Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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:


Camera
Photos