Hello iOS developers!!!
This time, I am doing a tutorial using the best added feature (to me) in Swift 4: Codable to easily parse JSON into a model class.
This tutorial covers:
1. First peep of Xcode 9
2. Codable
3. JSON parsing
4. NSURLSession downloading JSON
5. Thread management
6. iPhone X UI basic design
7. Teaching plan from me!
8. Finish project in Github.
JSON data link:
http://microblogging.wingnity.com/JSO...
JSON viewer:
http://jsonviewer.stack.hu
Project Github link:
https://github.com/SheldonWangRJT/iOS...
Related WWDC vid:
https://developer.apple.com/videos/pl...
Ref blog:
https://grokswift.com/json-swift-4/
Please subscribe!!!! Like!!!! Share!!!
Follow me on Github: https://github.com/SheldonWangRJT
Time Stamp for this tutorial:
1. Intro: • iOS Swift 4 Tutorial JSON Downloading...
2. Making UITableView and UITableViewCell: • iOS Swift 4 Tutorial JSON Downloading...
3. Adding logic for Downloading: • iOS Swift 4 Tutorial JSON Downloading...
4. Creating Model Class for JSON Object and Parse JSON: • iOS Swift 4 Tutorial JSON Downloading...
5. Update UITableView with the downloaded JSON Object: • iOS Swift 4 Tutorial JSON Downloading...
6. Set up Style and Start Working on the UI trick for iPhone X: • iOS Swift 4 Tutorial JSON Downloading...
7. Teaching or Channel Plan: • iOS Swift 4 Tutorial JSON Downloading...
FYI: I had a tutorial for Xcode 8 with Swift 3 for the same topic here:
• iOS Tutorial Downloading JSON into Ta...
Use the following link to donate to me:
https://paypal.me/sheldonwang