/ios-swift-wk2

Rotten Tomatoes API magic

Primary LanguageSwift

Rotten Tomatoes with Swift

How many hours did it take to complete? 11 hours

Which required and optional stories have you completed?

Required Tasks

  • User can view a list of movies from Rotten Tomatoes. Poster images must be loading asynchronously.
  • User can view movie details by tapping on a cell
  • User sees loading state while waiting for movies API. You can use one of the 3rd party libraries at cocoacontrols.com.
  • User sees error message when there's a networking error. You may not use UIAlertView to display the error. See this screenshot for what the error message should look like: network error screenshot.
  • User can pull to refresh the movie list.

Additional Requirements

  • Must use Cocoapods.
  • Asynchronous image downloading must be implemented using the UIImageView category in the AFNetworking library.

Optional Tasks

  • All images fade in (optional)
  • For the large poster, load the low-res image first, switch to high-res when complete (optional)
  • All images should be cached in memory and disk. In other words, images load immediately upon cold start (optional).
  • Customize the highlight and selection effect of the cell. (optional)
  • Customize the navigation bar. (optional)
  • Add a tab bar for Box Office and DVD. (optional)
  • Add a search bar. (optional)

Preview