This is a movies app displaying box office and top rental DVDs using the Rotten Tomatoes API.
Time spent: Around... 15 hours
- User can view a list of movies. Poster images load asynchronously.
- User can view movie details by tapping on a cell.
- User sees loading state while waiting for the API.
- User sees error message when there is a network error
- User can pull to refresh the movie list.
- All images fade in. (though this has not been done specifically for when images are loaded via network)
- 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
andNSURLRequest
makes a request withNSURLRequestReturnCacheDataElseLoad
cache policy. I tested this by turning off wifi and restarting the app. - Add a tab bar for Box Office and DVD.
- Because I implemented AFNetworkReachabilityManager at the last minute to properly monitor when there's a network error or not, I did not fix cases where monitoring should be shut down. So this would normally cause battery issues probably.
- Images fading in are done for all images, rather than only when images are being pulled from the network.
The gif starts recording with wifi off.