This is the Codepath week1 project RottenTomatoes.
Time spent: 8 hours
Completed user stories:
- Required: User can view a list of movies from Rotten Tomatoes. Poster images must be loading asynchronously.
- Required: User can view movie details by tapping on a cell
- Required: User sees loading state while waiting for movies API. I used MBProgressHUD.
- Required: User sees error message when there's a networking error.
- Required: User can pull to refresh the movie list.
- 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: Add a tab bar for Box Office and DVD.
- Optional: Add a search bar.
To install
cd RottenTomatoes
pod install
Walkthrough of all user storeis:
GIF created with LiceCap.