Skip to content

tejen/codepath-flicks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project 1 - Now Playing

Now Playing is a movies app using the The Movie Database API.

Time spent: 14 hours spent in total

User Stories

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.

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 search for a movie.
  • All images fade in as they are loading.
  • Customize the UI.

The following additional features are implemented:

  • Purchase tickets from within the app!
  • Check showtimes from within the app!
  • Watch trailers for each movie from within the app! Loads a movie's IMDB page in a hidden UIWebView; then, javascript scrapes out the trailer video URL from the UIWebView, and the video at this URL is played back to the user. If IMDB doesn't have the trailer, fallback to Fandango trailer via Google's I'm Feeling Lucky algorithms.
  • Auto Layout
  • Progress Bar indicator for loading statuses
  • Table view sorted by Rating
  • Optionally switch from Table view to Collection View, sorted by Popularity)
  • Color-coded background (correlating to Popularity level) behind movie ratings.
  • Cancel button on search bar
  • Scrollable text field for long Movie Overviews in Table view
  • App Icon
  • Launch Screen with logo and Activity Indicator animation

Please list two areas of the assignment you'd like to discuss further with your peers during the next class (examples include better ways to implement something, how to extend your app in certain ways, etc):

  1. Apple's Network Link Conditioner (see notes below)

  2. Dynamically building base paths for TMDB images (see notes below)

Video Walkthrough

Here's a walkthrough of implemented user stories:

(Watch this Video Walkthrough on YouTube if the GIF lags or fails to download.)

Video Walkthrough

NOTE: GIF FILE SIZE IS VERY LARGE (60+ MB).
VIEWING THE YOUTUBE VIDEO INSTEAD IS RECOMMENDED.
The GIF and Video are identical. See Video link below...

Video: http://youtu.be/pzkrRNaizEM

GIF: x.tejen.net/bqn

GitHub typically clones remote images to GitHub Camo servers for your security, a process which fails for large-filesize images.

GIF created with LiceCap.

Notes

Apple's Network Link Conditioner was absolutely indispensable during development. My network error messages are animated and tightly integrated with progress bar animations... developing this would have been a nightmare without the Conditioner. The Network Link Conditioner software should be endorsed, if not officially documented, in guidelines for this assignment.

TMDB could easily change the base paths for images. We should build the base paths using the separate APIs that they provide to this end. Furthermore, we should opt for being more decisive with image sizes... some peers were using full 500px width poster images and downscaling them into 60px UIImageViews, which resulted in an aliased appearance in the image.

Overall, though, this was a really really cool assignment! :)

License

Copyright ©2016 Tejen Hasmukh Patel

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.

Project 2 - Now Playing

Now Playing is a movies app displaying box office and top rental DVDs using The Movie Database API.

Time spent: 6 hours spent in total

User Stories

The following required functionality is completed:

  • 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:

  • 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:

  • Table/Collection State persists across Tab Bar tabbed views.

Please list two areas of the assignment you'd like to discuss further with your peers during the next class (examples include better ways to implement something, how to extend your app in certain ways, etc):

  1. This project was a bad application of the Tab Bar method of navigation. Although it was seemingly not appropriate here, I do appreciate learning how the Tab Bar system works!

Video Walkthrough

Here's a walkthrough of implemented user stories:

Video Walkthrough

GIF created with LiceCap.

Notes

Describe any challenges encountered while building the app.

License

Copyright ©2016 Tejen Hasmukh Patel

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

CodePath iOS University 2016 - Week 1 Assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published