KB Tag: JSON
-
How to fetch JSON using NSURLSession
In this tutorial I will discuss about iOS application that fetches some JSON from a web API While building this application we will be following: Functions Arrays Dictionaries NSURLSession Open Xcode Let’s open Xcode and build a single view application. Go to ViewController.swift. Your default ViewController.swift should appear like this: import UIKit class ViewController: UIViewController { override func viewDidLoad()…