image

Code Challenge

Given an already existing response from a MovieDatabase API Call:

  1. Fill the movies property with the (almost) parsed response.
  2. Create a UITableView in the provided Storyboard with a custom UITableViewCell to acomodate the model.
  3. The custom UITableViewCell should auto expand to accommodate (Auto Layout).
  4. Clean up and refactor the relevant files.

Bonus points!

  1. Create an Alert for the possible errors of the whole flow.
  2. Add an activity indicator.
  3. Add pull to refresh.
  4. Use Decodable to parse the response into the MovieModel.