Giter Site home page Giter Site logo

adumrewal / tmdb-ios-app Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 3.26 MB

The movie database (TMDb) iOS App in Swift with MVVM architecture.

License: MIT License

Ruby 0.82% Swift 99.18%
tmdb-api tmdb movies swift swiftui ios sample-app mvvm mvvm-architecture notification coredata coredata-swift urlsession pagination nuke themoviedb

tmdb-ios-app's Introduction

TMDB iOS Application

The Movie Database (TMDb) iOS App in Swift - https://developers.themoviedb.org/3/getting-started/introduction

Technical specs

  • Language: Swift
  • Networking: URLSession
  • DB Store: CoreData
  • Architecture: MVVM
  • Pagination
  • ViewModels and ViewData for storing UI state
  • Protocols for Movie list views
  • Swift standard coding/decoding for custom objects

Features

  • Now Playing tab
  • Saved Movies tab
  • Movie Detail view
  • App works offline and saves previous responses in DB (using Core Data)
  • Saved Movies are stored using Core Data
  • Notifications on DB state change
  • Recently added saved items are shown on top
  • Nuke for image fetching and caching
  • Search Tab - not implemented
  • Deeplinks - not implemented

Screenshots

Now Playing Saved Items Movie Detail View

Steps to build and run

  • Clone repo (pod files are included)
  • Open TMDB-sample-app.xcworkspace in XCode
    • Select Target TMDB-sample-app (pre-selected)
    • Choose simulator/device of choice
  • Click on Run

Future work

  • Search Tab
  • Deeplinks
  • Add protocols for ViewController and ViewModel communication
  • NowPlayingVC, SavedItemsVC and SearchTabVC can benefit from a common super class
  • Modularise CoreData calls
  • Modularise Network calls

tmdb-ios-app's People

Contributors

adumrewal avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sageseid

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.