Example UIKit/SwiftUI Photo Lib app, built using MVVM architecture.
Xcode project contains 3 targets:
PhotoLib
-- a UIKit iOS appiOS
-- a SwiftUI iOS appmacOS
-- a SwiftUI macOS app
All targets share same business logic.
- MVVM architecture
- Swift 5, deployment target - iOS 13
- App is fetching free photos from open photo lib API
- High performance: low memory usage, 60 FPS, low battery usage
- Simple solution, not over-engineered
- Image's shadow + corner radius!
- Safe Area support
- No 3rd party frameworks
- Crash free
MIT
© Marat Saytakov, 2020.