GithubHelp home page GithubHelp logo

tv-shows-challenge's Introduction

TV Shows Challenge

Goal

The goal of this project was to create an app that access an API and show information about TV series. The app contains the following:

  • PIN screen;
    • Register PIN screen;
  • List of TV Shows;
    • Detailed information about a TV Shows;
      • List of episodes divided by season;
      • Detailed information about a selected episode;
  • Search for a TV Show;
  • Search for a person connected to a TV Show;
    • Details about said person;
  • List of Favorite TV Shows (TV Shows can be marked/unmarked as favorite on it's detailed information screen and it can also be removed on the list);
  • Options screen, where the user can select if it will use the device's biometry authentication (if possible);

Project minimum requirements:

  • Xcode 9.3 +
  • MacOS Sierra 10.15 +
  • iOS 11 +
  • Swift 4 +

Project Dependencies:

This project runs using 3rd party code libraries managed by Cocoapods, to install it you must:

  • sudo gem install Cocoapods

in the root folder of the project:

  • pod install

Installed Pods:

  • SwiftSpinner: responsible to open a loader screen;
  • IQKeyboardManagerSwift: responsible to manage the keyboard over the app;
  • ImageViewer: used to open images fullscreen;

Run the new Challenge.xcworkspace file.

About the Project

All API calls are handled on the Services.swift file, which contains a completion handler for each call that always returns a success or a failure, as well as the object or list of objects as needed. All JSON responses are managed using the Decodable protcol.

The design of the application were all handled on the Storyboards using AutoLayout, and the navigation is made through segues. There are a few NIB files for specific cells (TableView or CollectionView).

For each ViewController there is a ViewModel that controls the data and methods related to it, leaving the ViewController to handle only what is supposed to be presented to the user.

To store the information about the user's Favorte Shows it was used CoreData.

The PIN registered to log into the app is stored over the device's KeyChain.

Unit Tests

You can run a fwe Unit Test cases over the TestChallenge target.

tv-shows-challenge's People

Contributors

gabrielb82 avatar

Watchers

James Cloos 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.