Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.66 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.66 KB

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!