Giter Site home page Giter Site logo

mstoten / weather-swiftui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from contirobert/weather-swiftui

0.0 0.0 0.0 683 KB

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!

Swift 100.00%

weather-swiftui's Introduction

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!

weather-swiftui's People

Contributors

contirobert avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.