Flicks is a movies app using the The Movie Database API.
Time spent: 20 hours spent in total
The following required functionality is complete:
- User can view a list of movies currently playing in theaters from The Movie Database.
- Poster images are loaded using the UIImageView category in the AFNetworking library.
- User sees a loading state while waiting for the movies API.
- User can pull to refresh the movie list.
- User sees an error message when there's a networking error.
The following optional features are implemented:
- Movies are displayed using a CollectionView instead of a TableView.
- User can select from a tab bar for either "Now Playing" or "Top Rated" movies.
- User can view a list of movies currently playing in theaters from The Movie Database.
- Poster images are loaded using the UIImageView category in the AFNetworking library.
- User sees a loading state while waiting for the movies API.
- User can pull to refresh the movie list.
- User can view movie details by tapping on a cell.
- User can select from a tab bar for either Now Playing or Top Rated movies.
- Customize the selection effect of the cell.
The following optional features are implemented:
- User sees an error message when there's a networking error.
- Movies are displayed using a CollectionView instead of a TableView.
- User can select from a tab bar for either "Now Playing" or "Top Rated" movies.
- User can search for a movie.
- All images fade in as they are loading.
- Customize the UI.
- For the large poster, load the low resolution image first and then switch to the high resolution image when complete.
- Customize the navigation bar.
The following additional features are implemented:
- List anything else that you can get done to improve the app functionality!
- If internet connection is slow or unreliable, the loading state lasts only as long as it takes to get the movie names and descriptions. The movie thumbnails are loaded afterwards, when the user can interact with the application. This prioritizes the movie names and descriptions over the optional movie poster thumbnails.
- Allows user to select up to 4 different categories of movies or tv shows.
- Uses UserDefaults to see which tabs are selected
- User can switch between detail view or poster view
- Caches 8 json files as nsdictionaries in case user does not have internet the next time they use the application
- will notify user they are viewing old data if a stable internet connection is not detected
Here's a walkthrough of implemented user stories:
[Version 2 -> All Features implemented work properly](/gifs/v2.0-final.gif)[Version 1 - Simulated with very slow internet](/gifs/v1.0 - slow internet.gif)
[Version 1 - Simulated with normal internet](/gifs/v1.0 - fast internet.gif)
GIF created with LiceCap.
Describe any challenges encountered while building the app.
Copyright 2016 Kevin Rajan
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.