It's a simple and minimalist weather app that provides current weather information. The app uses the OpenWeatherMap API to fetch real-time and hourly forecast weather data, air quality index, and other useful details.
- Stack: SwiftUI, Combine, CoreLocation
- Architecture: MVVM
- Patterns: DI
- Third-Party APIs: OpenWeatherMap API
- Clone the repo:
git clone https://github.com/github_username/repo_name.git
- Open the project in Xcode:
cd AstanaWeatherApp
open AstanaWeatherApp.xcodeproj
To use the app, you need an API key.
-
Sign in and get an free API key at https://openweathermap.org
-
Edit WeatherManager.swift, replace constant apiKey with your API key:
// Before:
private let apiKey = Bundle.main.infoDictionary?["API_KEY"] as? String ?? "API Key"
// After
private let apiKey = "your_api_key"
There will be more later
- Replace weather icon with 3D Images.: UI looks too colorless.
- Add City Search.: Allow user to search for weather in other cities.
- Build Widget for Home Screen.: Users should know current weather without opening the app.

