Coder Social home page Coder Social logo

mobiliumproject's Introduction

Arslan Kaan AYDIN  Mobilium Case

I model the data I got from a movie database site and transferred it to the application with Alamofire. I created a detail page for the movies and showed the pictures by downloading them with Kingfisher. I made the auto layout of the application programmatically with Snapkit. I hope you like.

Technologies

  • MVVM Architecture ✅
  • Programmatically ✅
  • CocoaPods for 3rd Party Libraries✅
  • Kingfisher ✅
  • Alamofire ✅
  • SnapKit ✅
  • Scroll View ✅
  • Collection View ✅
  • Table View ✅
  • Pull to Refresh ✅

Demo

giphy giphy-2

API

UpComingMovies: https://api.themoviedb.org/3/movie/upcoming?api_key="YOUR_API_KEY"

NowPlayingMovies: https://api.themoviedb.org/3/movie/now_playing?api_key="YOUR_API_KEY"

{
    class NetworkConstant{
        
        enum MovieServiceEndPoint: String {
            
        case BASE_URL = "https://api.themoviedb.org"
        case API_KEY = "YOUR_API_KEY"
        case IMAGE_BASE_URL = "https://image.tmdb.org/t/p/w1280"
            
            static func fetchUpComingMovies() -> String {
                "\(BASE_URL.rawValue)/3/movie/upcoming?api_key=\(API_KEY.rawValue)"
            }
            
            static func fetchNowPlayingMovies() -> String {
                "\(BASE_URL.rawValue)/3/movie/now_playing?api_key=\(API_KEY.rawValue)"
            }
            
            static func fetchMovieDetail(movieID: Int) -> String {
                "\(BASE_URL.rawValue)/3/movie/\(movieID)?api_key=\(API_KEY.rawValue)"
            }
            
        }
    }
}

mobiliumproject's People

Contributors

akaanaydin avatar

Stargazers

Nusret avatar Mehdican Büyükplevne avatar Sercan Durukan avatar

Watchers

 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.