semerda / CodePath-Flicks

Kraken Flicks is a movies app using the The Movie Database API.

Home Page:http://www.ernestsemerda.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project 1 - Kraken Flicks

Kraken Flicks is a movies app using the The Movie Database API.

Time spent: hours spent in total

User Stories

The following required functionality is completed:

  • User can view a list of movies currently playing in theaters. 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 an error message when there is a network error.
  • User can pull to refresh the movie list.

The following optional features are implemented:

  • Add a tab bar for Now Playing and Top Rated movies.
  • Implement segmented control to switch between list view and grid view.
  • Add a search bar.
  • All images fade in.
  • For the large poster, load the low-res image first, switch to high-res when complete.
  • Customize the highlight and selection effect of the cell.
  • Customize the navigation bar.

The following additional features are implemented:

  • Using Custom Fonts - OpenSans.
  • Added Genres to Movies list.
  • Added Browser to launch Movie Homepage from Movie Detail.
  • Added App Icon - Kraken Flicks.
  • When image fails, loads the Kraken Failed placeholder image.
  • Using NSNotificationCenter to notify when layouts should be updated in ViewController.
  • Customized MBProgressHUD so it's explicit/informative between Loading and Searching.
  • Added Infinity Scroll.
  • Used SwiftyJSON - a better way to deal with JSON data in Swift.
  • Used DZNEmptyDataSet - for showing empty datasets whenever the view has no content to display.

Video Walkthrough

Here's a walkthrough of implemented user stories:

Kraken Flicks Video Walkthrough

GIF created with LiceCap.

Open-source libraries used

  • AFNetworking - a delightful networking framework for iOS, OS X, watchOS, and tvOS.
  • MBProgressHUD - an iOS drop-in class that displays a translucent HUD with an indicator and/or labels while work is being done in a background thread.
  • SwiftyJSON - a better way to deal with JSON data in Swift.
  • DZNEmptyDataSet - for showing empty datasets whenever the view has no content to display.

License

Visit www.ernestsemerda.com

Copyright 2016 Ernest Semerda (http://www.ernestsemerda.com/)

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.

About

Kraken Flicks is a movies app using the The Movie Database API.

http://www.ernestsemerda.com/


Languages

Language:Swift 62.6%Language:Objective-C 36.9%Language:Ruby 0.5%