Skip to Content
Working with JSON in Xcode: Downloading and Listing JSON Data in TableView in iOS
on-demand course

Working with JSON in Xcode: Downloading and Listing JSON Data in TableView in iOS

with Tihomir Radev
December 2020
Advanced
34m
English
Apress
Closed Captioning available in English

Overview

Download JSON data from an online location into your iOS apps. You’ll work a sample list of contacts with email addresses, phone numbers, names, and other relevant information.  You'll then see how to format the data properly and list it in a TableView to be more user-friendly to read for display in your app.

Working with JSON in iOS is one of the most useful pieces of knowledge for a developer. It’s used on a daily basis in a wide variety of apps. Displaying online data in an app is an essential part of the iOS ecosystem. Learn how to download text from a server and then format the data properly with Codable in Swift. Using custom cells, you’ll build a TableView then place everything in an adaptable AutoLayout. Finally, you’ll populate the TableView with the formatted JSON data represented by an array of custom items. By the end of this video, you’ll be able to incorporate JSON data into your apps in a user-friendly and easily accessible manner.

What You Will Learn

  • Format JSON data properly with Codable in Swift
  • Build a TableView with custom cells
  • Place data in adaptable AutoLayout

Who This Video Is For
iOS developers with advanced skills in Xcode and Swift who want to incorporate JSON data displayed properly in their apps.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Watch now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Multipeer Connectivity in Xcode: Creating a Chat App for iOS

Multipeer Connectivity in Xcode: Creating a Chat App for iOS

Tihomir Radev
Table Views in iOS

Table Views in iOS

Paris Buttfield-Addison, Jon Manning, Tim Nugent

Publisher Resources

ISBN: 9781484268230