ebcabaybay / iOSAssignment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Technical Assignment

Demo

demo

Features

  • Start screen that navigate to list of products
  • Loads list of products from local json file
  • Able to add products to cart and modify its quantity
  • Cart badge displaying item count is updated automatically
  • Cart is saved and loaded locally on device
  • Cart list is accessible on the application level
  • Works on both landscape and portrait orientations
  • UI implemented via storyboard and XIB files
  • Use of Cocoapods

Description

The test project will be a native iOS application that should be created as an Xcode project (version 12.3 or higher) and should also support both landscape and portrait device orientations. The result of your work should be a buildable application able to run on an iOS device (iPad or iPhone) with iOS 13.0 or higher.

Create an iOS application for browsing the Jumbo list of available products. To achieve this you are going to use a provided local JSON list with 10 products.

Usage example

ProductsRepository().fetchRawProducts()

Requirements

  • The first screen of your application should display a start button that should navigate to list of products

  • The Products List screen should contain a table view displaying the following fields for each product

    • Image
    • Name
    • Price
    • Quantity added to Cart
    • Add to Cart button
  • When Add to Cart button is tapped, the product should be added to a local list of products with quantities (Cart).

  • OPTIONAL: Save Cart locally on the device

  • OPTIONAL: Load Cart back from the device when entering the product list screen

  • OPTIONAL: Cart list accessible on the application level

Hints

  • Attached designs could be a style guide, feel free to innovate.
  • Write your code in production quality, in a reusable way

Simulator Screen Shot - iPhone 8 - 2021-09-28 at 16 19 08

About


Languages

Language:Swift 98.7%Language:Ruby 1.3%