Skip to content

MyWeather is a SwiftUI-based weather app that provides real-time weather information based on the user’s location. It features smooth launching animations, advanced loading effects, and displays key weather details like temperature, wind speed, and humidity. Built with iOS 16+ and Swift 5.5+.

Notifications You must be signed in to change notification settings

RockENZO/MyWeather

Repository files navigation

MyWeather

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.

Demo

MyWeather App Demo

Requirements

  • iOS 16.0+
  • Xcode 13.0+
  • Swift 5.5+

Installation

  1. Clone the repository
  2. Open the project in Xcode
  3. Build and run the project on your simulator or device.

Usage

  1. On launch, the app displays a launching animation.
  2. After the animation, the app requests location permissions.
  3. Once the location is obtained, the app fetches the current weather data.
  4. The main screen displays the temperature, wind speed, and humidity.

Code Overview

LaunchView

LaunchView displays the launching animation and transitions to ContentView after the animation.

ContentView

ContentView manages the display of the LaunchView and the main weather content.

WeatherRow

WeatherRow displays individual weather information such as temperature, wind speed, and humidity.

LocationManager

LocationManager handles location services and provides the user's current location.

WeatherManager

WeatherManager fetches weather data from the OpenWeatherMap API based on the user's location.

LineGraph

LineGraph displays the hourly forecast using a line graph.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

OpenWeatherMap API for providing weather data.
SwiftUI for the UI framework.

About

MyWeather is a SwiftUI-based weather app that provides real-time weather information based on the user’s location. It features smooth launching animations, advanced loading effects, and displays key weather details like temperature, wind speed, and humidity. Built with iOS 16+ and Swift 5.5+.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages