Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 1.09 KB

README.md

File metadata and controls

17 lines (12 loc) · 1.09 KB

CodableVSClassicalJSONFetch

This is an iOS Swift project that showcases the difference between fetching data off the internet and interpreting it in two different ways: the classic JSONSerialization way and the Codable way.

This demo app also checks for an online connection and uses a fallback json file if there is not internet.

Important variables:

var useCodable = true

Demo Images:

Screenshot 2024-05-28 at 13 11 43 Screenshot 2024-05-28 at 13 11 34 Screenshot 2024-05-28 at 13 11 34 Screenshot 2024-05-28 at 13 11 34