Weather app developed in SwiftUI + MVVM, which allows you to search for cities, view the current weather, and view the extended forecast.
- π Search for cities by name.
- π‘οΈ Display of current weather (temperature, condition, city).
- π Forecast for the next few days.
- π History of recent searches saved in Core Data.
- π Clean architecture (View / ViewModel / UseCase / Repository / DataSource).
- π Navigation (Coordinator).
The project follows a version of MVVM:
- DataSource: Response models, remote API management and local database..
- Repository: Abstraction that connects data sources and provides information to the domain..
- UseCase: Encapsulates business logic into specific actions (e.g., get weather by city).
- ViewModel: Manages states and transforms data from use cases to the view.
- View: Presentation layer in SwiftUI, displays data and reacts to user events.
This allows the business logic to be decoupled from the UI layer.