This Weather App is built using SwiftUI and utilizes the WeatherAPI to fetch real-time weather data based on the user's location.
Displays the current temperature, wind speed, and a description of the weather.
Users can switch between Celsius and Fahrenheit.
The app uses the device’s location to display weather data.
A refresh button allows users to manually reload the weather data.
The background dynamically changes based on the time of day.
Alerts are shown if location access is denied or if there is an issue with the network.
The project follows the MVVM (Model-View-ViewModel) architecture
This project uses the WeatherAPI to fetch real-time weather data. The following endpoint is used: Endpoint: https://api.weatherapi.com/v1/current.json
Used for building the user interface.
Used for performing network requests on background threads and updating the UI on the main thread.
For accessing the user's location to fetch relevant weather data.
Used to fetch weather data based on the user's current location.