This is an iOS Swift demo application for displaying the latest box office movies using the RottenTomatoes API. See the RottenTomatoes Networking Tutorial on our cliffnotes for a step-by-step tutorial.
Time spent: 10 hours spent in total
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
- Required: User sees error message when there's a networking error
- Required: User can pull to refresh the movie list
- Optional: All images fade in
- Optional: All images should be cached in memory and disk
- 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
Stories not implemented:
- For the large poster, load the low-res image first, switch to high-res when complete
Notes:
No autolayout implemented, some UI elements might not be aligned properly.
Walkthrough of most of the user stories (Network error not shown):
GIF created with LiceCap.