Planets is an application designed to analyze any recipe and get a detailed nutrition data about it.
- MVP(Model View Presenter) + Clean Architecture concepts
- Minimum xcode version: Xcode 11
- Swift 5
- Clone this repo:
git clone https://github.com/Esraa-ragab7/Planets.git - Open the terminal and navigate to the directory of project:
cd Planets - Run this command to open the project directory:
open . - Open the workspace Planets.xcodeproj.
- Now you can run the project.
View- handle user interaction events to thePresenterand displays data passed by thePresenterPresenter- contains the presentation logic and tells theViewwhat to presentConfigurator- injects the dependency object graph into the scene (view controller)Router- contains navigation / flow logic from one scene (view controller) to another
UseCase / Interactor- contains the application / business logic for a specific use case in your applicationEntity- plainSwiftclasses / structs
Gateway- contains actual implementation of the protocols defined in theApplication LogiclayerPersistence / API Entities- contains framework specific representationsFramework specific APIs- contains implementations ofiOSspecific APIs such as sensors / bluetooth / camera
