oh no Jim avoid that shiny object called Swift

By | June 14, 2019

Note: You can find Weather Many in the app store for only 99 cents!

It was fun to make my heatercalc.com website… which got me thinking… bad things happen when I get to thinking… What if I make a mobile app? and then I thought of an idea for one… oh no this is bad.

Too late, time to learn mobile app development.

In comes Swift to my rescue! Again I turn to udemy. I pick the most popular course by this friendly brit, Angela Yu. iOS 13 and Swift 5

https://youtu.be/bUQz9ZWjsvc

Now I think that I got too much sun because my idea for my app was a weather app. There are so many of those…

The inspiration came from the drive back and forth between Arlington and Rehoboth Beach. I wanted an app that would show me on one screen all the weather along the way. The weather had to be by hour and in multiple locations.

The UI design

The design was pretty simple. Nothing fancy here. It should show the most relevant information, temperature, forecast, wind and a thumbnail of the actual weather predicted. The weather needed to be by hour and span six days.

The Data source

The data source needed to reliable and free. Most weather services charge for their information. I choose the weather.gov as my API source which is free to use. You can read about it here. Weather.gov API

Model View Controller design pattern

Unlike my heatcalc web app I found Swift much better at seperating the design in to its model, view and controller components.

This is just a one page app so I did not to add any navigation routes.

Final UI design

The following photo is a screen shot of the final app.