Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shaneafsar/rottenclone
Week 1 assignment for Codepath's February 2015 iOS Swift class
https://github.com/shaneafsar/rottenclone
Last synced: 26 days ago
JSON representation
Week 1 assignment for Codepath's February 2015 iOS Swift class
- Host: GitHub
- URL: https://github.com/shaneafsar/rottenclone
- Owner: shaneafsar
- Created: 2015-02-09T02:21:29.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-10T02:46:58.000Z (almost 10 years ago)
- Last Synced: 2024-10-14T21:49:54.571Z (2 months ago)
- Language: Swift
- Size: 30.2 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Rotten Tomatoes
This is a movies app displaying box office and top rental DVDs using the [Rotten Tomatoes API](http://developer.rottentomatoes.com/docs/read/JSON).
Time spent: 10hrs on core, 6hrs on optional (a little more time than necessary on reseaching stuff)
### 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 (mine programatically moves the view into the navigation bar controller, so it's fixed)
- [X] User can pull to refresh the movie list. (Note: I made it choose a random sublist)#### Optional
- [X] All images fade in.
- [X] For the larger poster, load the low-res first and switch to high-res when complete.
- [X] All images should be cached in memory and disk
- [ ] Implement segmented control to switch between list view and grid view. Hint: The segmented control should hide/show a UITableView and a UICollectionView
- [X] Customize the highlight and selection effect of the cell. (simply removed)
- [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
#### Screenshot of error message
#### GIF (kinda large)
The gif is really large, so I recommend opening it in gfycat or in a new window[gfycat link](http://gfycat.com/WanGrossHairstreakbutterfly)
### Installation
* Requires Xcode 6.2 beta 5
* Retrieve a Rotten Tomatoes API key from http://developer.rottentomatoes.com
* Create a folder called Config in the main folder (the one that contains the Podfile)
* In the config folder, create MyConfig.xcconfig
* Inside MyConfig.xcconfig, add ROTTEN_API_KEY = YOUR-API-KEY
* Open the Rotten.xcworkspace file, and build!Credits
---------
* [Rotten Tomatoes API](http://developer.rottentomatoes.com/docs/read/JSON)
* [AFNetworking](https://github.com/AFNetworking/AFNetworking)
* [JSONHelper](https://github.com/isair/JSONHelper)
* [SVProgressHUD](https://github.com/TransitApp/SVProgressHUD)