This application is developed using the Open Weather API to display weather information. It utilizes the UIKit framework and follows the MVVM architecture.
-
Current Location: Upon the initial launch, the application retrieves the user's current location using Core Location and displays the weather information for that area.
-
7-Day Forecast: In addition to the current location's weather information, the app provides forecasts for the next 7 days.
-
Detailed Day Information: Users can navigate to any day within the next 7 days to access more detailed information about the weather.
-
City-based Weather: The app allows users to retrieve weather information for any desired city.
-
Temperature Unit Selection: Users have the option to switch between Celsius and Fahrenheit for temperature units.
-
💥 Offline City Weather: The application stores the weather information for the last searched city, allowing users to access it offline.
To run the application locally, follow these steps:
-
Clone the repository.
git clone https://github.com/your-username/weather-app.git
-
Open the project in Xcode.
-
Build and run the application on your desired simulator or device.
- Open Weather API: Link to API Documentation