Giter Club home page Giter Club logo

ios-favorite-movies's Introduction

ios-favorite-movies

A sample application to find and save a list of your favorite movies. Created for use in the Pluralsight course iOS and Swift from Scratch

Update 09/29/2017: API requests to The Open Movie Database require an API key or they will be denied with a 401 response. In order to help keep this demo application running it is now leveraging the same API key as found in the examples section of the site. If you abuse this demo key it will be banned so please use it only for demo/testing purposes.

Prerequisites

  1. MacOS (10.11.x or above)
  2. Xcode 8.1

Quick Start

  1. Clone the repo and go to that directory

    git clone https://github.com/clarkio/ios-favorite-movies.git
    cd ios-favorite-movies
  2. Open the project in Xcode

    open Favorite\ Movies/Favorite\ Movies.xcodeproj/
  3. Select iPhone 7 for the simulator

  4. Run the project by pressing CMD + R or clicking the Play button

Main View

This view shows the list of the favorite movies. It uses a table view with a custom cell to show the favorite movies on the screen. The custom cell provides an ImageView to show the movie poster, a label for the movie title and a label for the year the movie was released. Lastly, it shows a "Find Movies" button which navigates to the Search View

Search View

This view provides a way to search for movies to add to the favorites list. It uses a text field, button and table view with a custom cell to provide the search results. The custom cell is slightly different from the main view as it includes a "Fav" button that handles adding that movie to the main favorites list.

Detail View

This view wasn't covered in the video, but is an example of performing an action when a table cell is selected. Within the main view's table view each table cell is selectable. When the cell is selected this triggers navigation to the Detail View. The Detail View shows the movie title along with the plot which is retrieved from the OMDb API.

ios-favorite-movies's People

Contributors

clarkio avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.