This is a movies app displaying box office and top rental DVDs using the Rotten Tomatoes API.
Time spent: 24 hours
- 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 https://www.cocoacontrols.com/search?q=hud.
- User sees error message when there’s a networking error. You may not use UIAlertView or a 3rd party library 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. Guide: Using UIRefreshControl.
- All images fade in.
- 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 it by turning off wifi and restarting the app. - Customize the highlight and selection effect of the cell.
- Customize the navigation bar.
- Add a tab bar for Box Office and DVD.
- Add a search bar: pretty simple implementation of searching against the existing table view data.
- apply UICollectionView for DVDs tab
- Support search function by using TextField (in DVDs tab)
- Choose locale currency
- Show/hide detail content (in DVD Detail) by swipe up/down