Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.4 KB

README.md

File metadata and controls

48 lines (37 loc) · 1.4 KB

Weatherly

weatherly screenshot

Description

Simple app that grabs phone location and displays current temperature and weather conditions.

Skills Practiced

  • UI Layout
  • Autolayout and constraints
  • Dark Mode
  • Protocol/Delegate Pattern
  • Closures/Completion Handlers
  • Use APIs
  • HTTP Requests
  • JSON Encoding/Decoding
  • Grand Central Dispatch
  • Organizing Code via Extensions
  • MVC Pattern
  • Code Snippets
  • Core Location

Future Features / Fixes

  • Toggle temperature units by clicking on unit label
  • Show some form of loading view to user while waiting for location data to update view
  • Alert view - show error to user when failure encountered

Use Instructions

This app involves using an external API. To use the app, clone the project and add your own API key.

  1. Create an account with OpenWeather
  2. Copy your own API key
  3. In the app project, create a Constants struct.
  4. Store your API key in a type property of the Constants struct titled OpenWeatherAPIKey.
struct Constants {
  static let openWeatherAPIKey = "<enter your API key here>"
}

Attributions

This was developed using ideas from The App Brewery's Complete App Development Bootcamp, check out the full course at www.appbrewery.co