Skip to content

rsekar1094/MoviesApp

Repository files navigation

Movies List App

Overview

This app allows the user to view a list of watched, to watch and favorites movies. The app features include:

  • Horizontal scroll on favorite movies list if the number of movies exceeds the screen width.
  • API integration to fetch movie data.
  • When a movie is selected, its details page shows all the synced information about the movie.
  • If a movie is selected in the favorite list, the corresponding movie in the Watched/To Watch list is also selected and vice versa.
  • Movies are sorted based on rating. If two movies have the same rating, they are sorted based on the name.

Requirements

  • iOS 16.0+
  • Xcode 14.0+
  • Swift 5.0+

Installation

  1. Clone or download the repository.
  2. Open the project in Xcode.
  3. Build and run the app on a simulator or a physical device.

API Documentation

The app uses the following APIs to fetch movie data:

  • /movies/list: Returns a list of all movies.
  • /movies/favorites: Returns a list of favorite movies.

Libraries Used

  • Combine: Used for reactive programming.
  • Kingfisher: Used for loading images from URLs and caching them.

Unit Test cases

  • Achieved 75% overral test coverrage and 100% test coverage on both screen viewmodels

Screenshot 2023-04-10 at 16 11 41

Theme and Orientation

  • Supported both light and dark Theme and both portrait and landscape modes Simulator Screen Shot - iPhone 14 Pro - 2023-04-10 at 16 03 30 Simulator Screen Shot - iPhone 14 Pro - 2023-04-10 at 16 03 41
Screen.Recording.2023-04-10.at.16.02.08_compressed.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages