Objective: Learning how to make an API request and process the response JSON into model objects.
-
Building the Movies Table view with custom UITableViewCell and detail view
-
Making the API call and getting a response object; storing it in relevant data models
-
Implementing local persistence of movies with Realm database.
Source: The Movie Database
API Docs: The Movie Database API documentation
Endpoint used: http://api.themoviedb.org/3/movie/now_playing
pod 'Alamofire', '~> 3.5.0'
pod 'AlamofireImage', '~> 2.5'
pod 'RealmSwift', '0.98.8'