Hi 👋
Thanks for taking your time reading this Read me.
This a simple iOS app made with SwiftUI wich shows some random facts about numbers using some of the latests features of the Swift language (in not particular order):
- Combine
- Async / await
- Dependency injection
- Unit testing for each feature layer
Get an API key from WolframAlpha so that you can check if the displayed number is prime or not
Using a MVVM archtitecture, I´ve followed clean Architecture principles:
Each layer has its own test implementation 🤟
- Use SPM as depdendency manager
- UI testing
- Viewmodel testing
- Modularization
- Use SPM as dependency manager
- Use Soucery in order to generate automatically mocks.
- Use Inject in order to see previews automatically since in SwiftUI previews are broken as soon as we handle some custom dependency injection.
- Swiftlint
Thanks for reading!