← Back to portfolio

Weather App

SwiftUI · URLSession · WidgetKit · CoreLocation

A weather app that displays current conditions and a 5‑day forecast, with a macOS widget and notifications.

Features

  • Live weather from OpenWeatherMap API
  • Celsius / Fahrenheit toggle, dark mode
  • Current location via CoreLocation
  • Hourly and 5‑day forecast, wind, humidity, UV index
  • Weather alerts and animated weather icon
  • macOS widget with data shared via App Groups

Technologies

SwiftUI URLSession async/await Codable CoreLocation WidgetKit App Groups UserNotifications

What I Learned

REST API integration, JSON decoding, handling async tasks, sharing data between app and widget, and local notifications.

GitHub

github.com/djkoast/weather-app

© 2026 Koast. Built with SvelteKit & Tailwind.