https://github.com/lucasvandongen/muncheemodel
The Model section of the demo app called Munchee
https://github.com/lucasvandongen/muncheemodel
Last synced: 2 months ago
JSON representation
The Model section of the demo app called Munchee
- Host: GitHub
- URL: https://github.com/lucasvandongen/muncheemodel
- Owner: LucasVanDongen
- Created: 2023-10-23T07:20:14.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-08T12:12:04.000Z (over 1 year ago)
- Last Synced: 2025-02-03T14:48:29.396Z (4 months ago)
- Language: Swift
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MuncheeModel
## Purpose
`MuncheeModel` is a Swift Package that is created to serve as the `Model` layer for the demo app [Munchee](https://github.com/LucasVanDongen/Munchee). Please read the [Munchee app's README](https://github.com/LucasVanDongen/Munchee#readme) to understand it's purpose.Some of the things I am showcasing in this repo:
* How to design a good `Model` for your app
* How to protect this `Model`'s State in every occasion
* How I test such a `Model` layer
* How you can cleanly separate your app's `Model` layer in a separte repo, allowing you to hide most members except the ones explicitly called `public`
* Some of Swift 5.9's new features