O'Reilly logo

iOS Programming Cookbook by Hossam Ghareeb

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11.  Networking

In this chapter, we will cover the following topics:

  • Using NSURLSession API for network connections
  • Parsing JSON data
  • Social sharing

Introduction

We don't live offline nowadays. It's become very rare nowadays to find an app that has no backend to pull data from, or to be updated by users' actions or by any data that seems important. A lot of apps have a user system where users can log in and register themselves to use the app. Each user has different information or data that needs to be saved. This data needs a server to be saved in and, pulled from any client side (a mobile app or website). Even if you don't have a server, you need a place to fetch data from and keep your app up to date. You don't need an app update in Appstore ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required