iOS App Development: RESTful Web Services

iOS App Development: RESTful Web Services

1h 23mIntermediate2018-04-05

Authors

Bear Cahill

Bear Cahill

Mobile Application Developer

Course details

Review the key concepts you need to know to create queries to a RESTful JSON server API. Learn the core fundamentals for creating a request, and review how to do the standard operations on server-side data: create, read, update, and delete (CRUD). Discover how to parse JSON data directly into object instances with the Codable protocol. Plus, learn about more advanced uses of the Codable protocol, including how to implement manual decoding of data.

Learning objectives
Create, read, update, delete (CRUD)
RESTful fetching one item
REST response handling of JSON
Creating new objects on the server
Codable for arrays and dictionaries
Enumerations and Codable

Skills covered

iOS DevelopmentiOSMobile DevelopmentAppleDeep Dive (X:Y)

Concepts

0. Introduction

  • 01 - Welcome
  • 02 - What you should know
  • 03 - Using the exercise files

1. RESTful Overview and Read Request

  • 04 - RESTful API
  • 05 - Create, read, update, delete (CRUD)
  • 06 - URLSession - GET read request
  • 07 - RESTful fetching one item

2. Codable Protocol for Read Request

  • 08 - REST response handling of JSON
  • 09 - Codable protocol is two protocols
  • 10 - Decodable protocol - JSON to object
  • 11 - CodingKeys for naming of properties

3. Create, Delete, and Encodable for Update

  • 12 - Default encoding of object instance
  • 13 - Create new object on the server
  • 14 - URLSession PUT for update
  • 15 - Delete request

4. More Advanced Uses of Codable

  • 16 - Manual decoding of data
  • 17 - Manual encoding of object instance
  • 18 - Codable for arrays
  • 19 - Codable for dictionaries
  • 20 - Enumerations and Codable

Conclusion

  • 21 - Next steps
40,000 Toman