In this Swift macOS tutorial video we'll look at using app.quicktype.io to quickly and easily model JSON objects and create URLSession dataTasks for your APIs, in this case checking the price of BTC. Links are below.
00:00 Intro
00:19 Using Blockchain API
00:54 Using app.quicktype.io
01:25 Crypto file from QuickType
01:39 API file for using URLSession
04:16 Adding API call to ViewController
06:23 End
Blockchain API - https://api.blockchain.com/v3/#/unaut...
Quicktype IO - https://app.quicktype.io
GitHub project - https://github.com/SwiftGoose5/swift_...
Subscribe for more content, as I will be creating more tutorial and how-to videos for coding in Swift, as well as longer tutorials on building macOS apps.
If you'd like to support my work to help me improve video quality and bring more content, please consider donating to my PayPal:
https://www.paypal.com/paypalme/Swift...
Thank you for watching!
Huge thank you to the channels below for helping me get started!
Uncreated Light Press
/ @uncreatedlightpress
and
Mr. Macintosh
/ @mr.macintosh
and
The Apple Ninja
/ jessetheappleninja