Today we go over how to make GET and POST requests with TRON (a third party networking library that sits on top of Alamofire). This is a step by step tutorial that will explain what is happening in each line of code so you can grasp the full concept of how to make both GET and POST requests in a lightweight and legible manner.
Networking is a major part of iOS development and is almost always required for iOS developer jobs. Some developers prefer to user lightweight networking libraries to keep their code clean and concise, which TRON is great at. TRON also includes SwiftyJSON for parsing the JSON that is returned in the networking response. It also forces good habits of creating models/objects for the data you intend on working with.
By the end of this tutorial, you will know how to send a GET and POST request with TRON, see some of the quirks of using this framework, and know the downfalls of using TRON in a project.
If you have any questions or comments about the tutorial, or want to suggest a video to make, feel free to leave a comment below, or reach out to me on Twitter:
https://twitter.com/kilo_loco
If you found this tutorial helpful, make sure to subscribe to the channel for more great tutorials.
TRON: GET & POST Requests | Swift 3, Xcode 8 camera iphone 8 plus apk
Không có nhận xét nào:
Đăng nhận xét