Skip to content

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.

Notifications You must be signed in to change notification settings

Andrei0795/CodableVSClassicalJSONFetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages