MyWeather is a SwiftUI-based weather application that provides current weather information based on the user's location. The app features a launching animation and a loading view with advanced animations.
- iOS 16.0+
- Xcode 13.0+
- Swift 5.5+
- Clone the repository
- Open the project in Xcode
- Build and run the project on your simulator or device.
- On launch, the app displays a launching animation.
- After the animation, the app requests location permissions.
- Once the location is obtained, the app fetches the current weather data.
- The main screen displays the temperature, wind speed, and humidity.
LaunchView
displays the launching animation and transitions to ContentView
after the animation.
ContentView
manages the display of the LaunchView
and the main weather content.
WeatherRow
displays individual weather information such as temperature, wind speed, and humidity.
LocationManager
handles location services and provides the user's current location.
WeatherManager
fetches weather data from the OpenWeatherMap API based on the user's location.
LineGraph
displays the hourly forecast using a line graph.
This project is licensed under the MIT License. See the LICENSE file for details.
OpenWeatherMap API for providing weather data.
SwiftUI for the UI framework.