Skip to content

PrahaTurbo/JustWeather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Swift 5.6 SwiftUI 3.0 @artlast

JustWeather

promo_gif

Table of Contents

General Information

This is a simple weather app. The app uses OpenWeather API to get weather data.

The app has the ability to search by locations. For this purpose, it uses MapKit. When the user taps on a search result, the app sends the name of the location to CoreLocation to get the coordinates. If it retrieves the coordinates successfully, it uses them for API request.

All favorite cities app saves in Documents Directory.

Technologies Used

  • Swift 5.6
  • SwiftUI
  • MapKit
  • CoreLocation
  • FileManager
  • UserDefaults
  • MVVM

Features

  • Weather data at user location
  • Search locations by city
  • Add cities to favorites
  • Choice between measurement systems
  • Full Russian and English language support

Screenshots

Requirements

  • Xcode 13 or later
  • iOS 15 or later

Important notes

Don't forget to specify API key in WeatherService.swift:

private let apiKey = "" // <- ADD API KEY HERE

You can get one on https://openweathermap.org/

About

Simple weather app / SwiftUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages