Coder Social home page Coder Social logo

movies's Introduction

Movies

The app was developed according to specific test task requirements

Dark appearance with English localization

Search Details Trailer

Light appearance with Ukrainian localization

Search Details Sort

Key Features

  • Light/Dark appearance support
  • The Movie Database API for data source
  • iOS 15+
  • UIKit
  • MVVM+Coordinator
  • Programmatic UI without storyboards
  • Diverse search result sort options
  • Pagination
  • 4 screens with different elements
  • Separate network service
  • User-friendly error handling
  • Basic dependency injection
  • Minimum dependencies: Alamofire & Kingfisher
  • Localization

Completed task requirements

✓ Displays a list of movies with details

✓ Uses The Movie Database API for data source

✓ Minimum supported OS: iOS 15.0

✓ Networking: Alamofire

✓ Architecture: MVVM

✓ Layout: UIKit + Autolayout (Programmatic or Interface Builder)

✓ Data parsing: Decodable protocol

✓ Implements Dependency Injection

✓ Error Handling: Displays native alert with title "Error"

✓ Handle no internet connectivity: Shows alert

✓ Implements pull to refresh for fresh data load

✓ Libraries: SwiftPackageManager

✓ Displays activity indicator on network requests

✓ Handles empty states for no results in the list

✓ Uses Git repository with the basic git flow

✓ Displays popular movies in default sorting

✓ Pagination: Loads 20 items per page seamlessly

✓ Clicking on a movie leads to its details screen

✓ Displays movie details:

✓ Displays trailer button (only if available)

✓ Clicking on poster leads to Screen 3 (modal display of full-size poster)

✓ Navigation bar with movie title and back button

✓ Has modal display of full-size movie poster

✓ Supports simple offline Mode with previously downloaded movies

✓ Shows an alert when trying to view details of a movie offline

✓ Implements local search for movie titles when offline

✓ Cache images for offline viewing with Kingfisher

✓ Supports Ukrainian and English localization (both app and API calls)

License

This project is licensed under the MIT License - see the LICENSE file for details

movies's People

Contributors

beavean 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.