Swift Weather (Meteorology) Application with REST API

Video Description

Learn to create and build a real-world iOS application. Real-world means you can use this app every day!

About This Video

  • Work with the REST API
  • Build a real-world application on iOS
  • Design iOS applications

In Detail

We are going to build a real-world iOS application: an iOS 12 Weather App. Unlike any other courses, when you finish this course, you will have an app ready to post to the App Store.

What our app will include:

  • Current weather for your current location
  • 24-hour weather forecast for your current location
  • Weekly (7-day) weather forecast for your current location
  • Current weather for any city of your choice
  • 24-hour weather for any city of your choice
  • Weekly (7-day) weather forecast for any city of your choice
  • How to use the REST API
  • HTTPS calls
  • How to write clean readable code
  • Create custom views using storyboards and XIB files
  • Work with TableViews
  • Work with CollectionViews
  • Gesture recognizers
  • GPS locations with MapKit
  • Work with JSON
  • Use SwiftyJSON
  • And many more…

This iOS12 Weather App is NOT a beginner-level course. You need to know your way around Xcode and you must have a basic knowledge of Swift and application building. We will start from scratch and build the application together.

By the end of the course, you will have learned a lot of new things even if you are an experienced iOS developer. The course will teach you how to write clean code and structure your app development so that, even if you go back to your code in a few years, you can read and understand it clearly.

Publisher Resources

Download Example Code

Table of Contents

  1. Chapter 1 : Introduction to WeatherBit
    1. Introduction 00:04:55
    2. Installing 3rd party Libraries 00:09:41
    3. WeatherBitIo Details 00:11:04
    4. Getting current weather in browser 00:05:08
  2. Chapter 2 : Working with Models
    1. Building Current weather model 00:08:53
    2. Current weather private and public vars 00:06:06
    3. Setting the Vars from JSON 00:11:22
    4. Finishing current weather class 00:13:44
    5. Hourly Forecast Class part 1 00:07:37
    6. Hourly Forecast Class part 2 00:10:16
    7. Hourly Forecast Class part 3 00:06:06
    8. Testing hourly weather forecast 00:05:07
    9. Weekly Weather Forecast class 00:13:04
  3. Chapter 3 : Custom Weather View
    1. Weather View User Interface 00:09:38
    2. Weather view UI connections 00:08:06
    3. Weather View UI part 1 00:07:36
    4. Weather View UI part 2 00:08:55
    5. Weather View Connections 00:05:02
    6. Initializing Weather View in code 00:08:46
    7. Testing Weather View 00:06:31
    8. Showing current weather 00:10:22
    9. Current weather test run 00:04:07
  4. Chapter 4 : Weather UI
    1. Hourly Weather cell UI and code 00:10:29
    2. Generate cell for Hourly weather 00:05:38
    3. Info Collection View Cell 00:12:47
    4. Weather Table View Cell 00:10:26
    5. Register cells with tableview and collectionView 00:06:40
    6. TableView and collection view data sources 00:11:51
  5. Chapter 5 : Getting Weather from API
    1. Getting Weather from API 00:07:27
    2. Calling functions to download weather 00:08:19
    3. Fixing UI background colors 00:04:05
    4. Fixing scroll view bug 00:03:16
    5. Setup Weather Info 00:10:32
    6. Adding weatherInfo items 00:08:59
  6. Chapter 6 : Updating model
    1. Making model dynamic 00:08:28
    2. Making model dynamic part 2 00:06:49
    3. Test dynamic weatherLocation 00:05:30
  7. Chapter 7 : Working with locations
    1. All Locations UI 00:11:29
    2. Parsing CSV part 1 00:07:01
    3. Parsing CSV part 1 00:10:54
    4. Choose City table view functions 00:09:58
    5. Search controller setup 00:06:44
    6. Searching with search controller 00:10:06
    7. Save and load from user defaults 00:09:54
    8. Encoding and decoding Weather Locations 00:07:56
    9. Dismissing view on selection 00:09:29
    10. Choose City VC Delegate 00:14:08
    11. Loading locations from User defaults 00:06:29
    12. MainWeather Custom Cell 00:10:39
    13. City temp data struct 00:05:12
    14. Tableview Data source and delegate 00:11:58
    15. Delete Location from User defaults 00:06:23
    16. Weather View Controller location manager 00:10:05
    17. Requesting Authorization to use location 00:06:05
    18. Location Service class 00:09:42
    19. Getting locations from User defaults 00:14:29
  8. Chapter 8 : Updating WeatherView Controller
    1. Create and add weatherViews to scrollView 00:12:10
    2. Testing the application with multiple weather locations 00:05:35
    3. Page Control part 1 00:06:35
    4. Page Control part 2 00:02:22
    5. Generating cityTempData for each location 00:09:06
    6. Passing CityTempData to all locations VC 00:11:31
    7. Bug fixing with city name 00:04:28
    8. AllLocations delegate 00:10:30
    9. Bug fixing 00:11:39
    10. Test run to see if refresh works 00:05:23
  9. Chapter 9 : Temperature format options
    1. Adding Temp format segment 00:05:41
    2. Saving and loading temp format from user defaults 00:07:29
    3. Test run to check temp segment 00:03:08
    4. Setting temp format based on settings 00:08:51
    5. Test Run dynamic format check 00:04:09
    6. Fixing dynamic temp format bug 00:14:58
    7. Final test run 00:00:59

Product Information

  • Title: Swift Weather (Meteorology) Application with REST API
  • Author(s): David Kababyan, Frahaan Hussain
  • Release date: August 2019
  • Publisher(s): Packt Publishing
  • ISBN: 9781839214912