Create a reusable API Service class with a shared singleton to fetch and decode JSON from any API.
***NOTE**** You will need your own API Key. See Video #2
If you find this video series helpful, please consider buying me a coffee so I can continue to fund the resources required to keep me at it.
https://ko-fi.com/stewartlynch
Series Web Site:
http://www.createchsol.com/WeatherAppCourse
Starter Project:
You can download the completed files from the previous tutorial if you want to have a starting point:
https://www.createchsol.com/WeatherApp/Lesson03Complete.zip
The completed project for this video can be downloaded from here:
https://www.createchsol.com/WeatherApp/Lesson04Complete.zip
Other References in this video:
JSON and Codable Protocol Playlist
https://youtube.com/playlist?list=PLBn01m5Vbs4DKrm1gwIr_a-0B7yvlTZP6
The Result Type
https://youtu.be/AIb3CQH8_jg
Completion Handlers
https://youtu.be/JmPbnuJxzHg
Enums with Associated Values
https://youtu.be/wLg4wZQsWd0
Links to all Videos in this series.
Part 1
1. Introduction and Overview
https://youtu.be/FA4ksgVip9E
2. The OpenWeatherMap API
https://youtu.be/ajmd8hk6OEI
3. Creating the Model
https://youtu.be/11ZgiKOIPSY
4. Creating an API Service Class Singleton
https://youtu.be/R5L3oRatiMY
5. Testing the API
https://youtu.be/dbM-Ew5HR6Y
Part 2
6. Start Building the App
Coming Soon
7. Building the List View
Coming Soon
8. Implementing the Forecast ViewModel
Coming Soon
9. Adding the Forecast List ViewModel
Coming Soon
10. Metric or Imperial and Saving to UserDefaults
Coming Soon
11. Downloading and Caching Images
Coming Soon
12. Error Handling and Activity Loader
Coming Soon
13. Improving the UI
Coming Soon
14. Add an App Icon and Launch Screen
Coming Soon
15. Refactoring APIService using Combine
Coming Soon
Other References:
Stewart Lynch's YouTube Channel:
https://youtube.com/StewartLynch
Stewart Lynch on Twitter:
https://twitter.com/StewartLynch
CreaTECH Solutions Website:
https://www.createchsol.com
Stewart Lynch's GitHub:
https://github.com/StewartLynch
***NOTE**** You will need your own API Key. See Video #2
If you find this video series helpful, please consider buying me a coffee so I can continue to fund the resources required to keep me at it.
https://ko-fi.com/stewartlynch
Series Web Site:
http://www.createchsol.com/WeatherAppCourse
Starter Project:
You can download the completed files from the previous tutorial if you want to have a starting point:
https://www.createchsol.com/WeatherApp/Lesson03Complete.zip
The completed project for this video can be downloaded from here:
https://www.createchsol.com/WeatherApp/Lesson04Complete.zip
Other References in this video:
JSON and Codable Protocol Playlist
https://youtube.com/playlist?list=PLBn01m5Vbs4DKrm1gwIr_a-0B7yvlTZP6
The Result Type
https://youtu.be/AIb3CQH8_jg
Completion Handlers
https://youtu.be/JmPbnuJxzHg
Enums with Associated Values
https://youtu.be/wLg4wZQsWd0
Links to all Videos in this series.
Part 1
1. Introduction and Overview
https://youtu.be/FA4ksgVip9E
2. The OpenWeatherMap API
https://youtu.be/ajmd8hk6OEI
3. Creating the Model
https://youtu.be/11ZgiKOIPSY
4. Creating an API Service Class Singleton
https://youtu.be/R5L3oRatiMY
5. Testing the API
https://youtu.be/dbM-Ew5HR6Y
Part 2
6. Start Building the App
Coming Soon
7. Building the List View
Coming Soon
8. Implementing the Forecast ViewModel
Coming Soon
9. Adding the Forecast List ViewModel
Coming Soon
10. Metric or Imperial and Saving to UserDefaults
Coming Soon
11. Downloading and Caching Images
Coming Soon
12. Error Handling and Activity Loader
Coming Soon
13. Improving the UI
Coming Soon
14. Add an App Icon and Launch Screen
Coming Soon
15. Refactoring APIService using Combine
Coming Soon
Other References:
Stewart Lynch's YouTube Channel:
https://youtube.com/StewartLynch
Stewart Lynch on Twitter:
https://twitter.com/StewartLynch
CreaTECH Solutions Website:
https://www.createchsol.com
Stewart Lynch's GitHub:
https://github.com/StewartLynch
- Категория
- Язык программирования Swift
Комментариев нет.