Rotten Tomatoes
This is a movies app displaying box office and top rental DVDs using the Rotten Tomatoes API.
Time spent: 12hrs
Features
Required
- [X] User can view a list of movies. Poster images load asynchronously.
- [X] User can view movie details by tapping on a cell.
- [X] User sees loading state while waiting for the API.
- [X] User sees error message when there is a network error: http://cl.ly/image/1l1L3M460c3C
- [X] User can pull to refresh the movie list.
Optional
- [X] All images fade in.
- [X] For the larger poster, load the low-res first and switch to high-res when complete.
- [ ] All images should be cached in memory and disk: AppDelegate has an instance of
NSURLCache
and NSURLRequest
makes a request with NSURLRequestReturnCacheDataElseLoad
cache policy. I tested it by turning off wifi and restarting the app.
- [X] Customize the highlight and selection effect of the cell.
- [X] Customize the navigation bar.
- [X] Add a tab bar for Box Office and DVD.
- [X] Add a search bar: pretty simple implementation of searching against the existing table view data.
Walkthrough
GIF created with LiceCap.
Credits
License
Licensed under the [Apache License, Version 2.0] [license] (the "License");
you may not use this software except in compliance with the License.