Weather SwiftUI Save

A weather app that uses the Dark Sky API built using SwiftUI! Get the current weather for a particular location and check out the 5-day forecast!

Project README

Weather-SwiftUI

Overview

Weather-SwiftUI is a weather app that uses the Dark Sky API built using SwiftUI! Get the current weather for a particular location and check out the 5-day forecast! The app incorporates:

  • SwiftUI
  • Stacks
  • Images and Text
  • Gradients
  • Parsing JSON using Codable
  • Error Handling
  • MVVM

Custom Features

Additional features were added to the original functionality of the app, including:

  • Custom, dynamic UI using SwiftUI
  • Expanded CurrentWeather model including apparent temperature and wind speed
  • Included 5-day forecast

Getting Started

This app is not available on the App Store.

Prerequisites

  • A valid API key from Dark Sky
  • A Mac running macOS Catalina (beta)
  • Xcode 11 (beta)

Installation

  1. Clone or download the project to your local machine
  2. Open the project in Xcode
  3. Replace YOURAPIKEY with your valid Dark Sky API key in DarkSkyAPIClient.swift
class DarkSkyAPIClient {
    fileprivate let darkSkyApiKey = "YOURAPIKEY"
  1. Run the simulator

Acknowledgements

The following resources were used in the development of this project. All custom code is my own.

Interested in learning more about iOS Development? Sign up today!

Open Source Agenda is not affiliated with "Weather SwiftUI" Project. README Source: contirobert/Weather-SwiftUI
Stars
113
Open Issues
5
Last Commit
3 years ago

Open Source Agenda Badge

Open Source Agenda Rating