laanayabdrzak / Guidomia

A simple app loading a list of cars from Local JSON file & Save it on Local Database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Guidomia

A simple app loading a list of cars from Local JSON file.

Mobile Practical Test (Ios) Objectives:

Level 1:

  • Show a simple list of collapsed items
  • Extract the list information from the join json file.
  • Show a collapsed list (car image, name, price and rating) :

Level 2:

  • Add the expandable section in the list.
  • By default, the first item should be expanded.
  • On clicking an item, the previous item will collapse, and the new item will expand.
  • Pros and cons sections should be shown.
  • Be aware there is no limit to the number of bullet point so these should be added dynamically.

Level 3:

  • Implement the filters
  • Add a filter section in the UI
  • Create the two filter lists from the json provided: one for the make and one for the model
  • Show the result in the dropdown
  • On selecting a make or a model, the list should be updated following the filters

Bonus level:

  • Pull the list once from the json then save the result in a local database. When reopening the app when data are saved, we should show these without pulling these from the json.

Requirements

  • iOS 14.0+
  • Xcode 13.0+
  • Swift 5.1+

Quick Start

Clone this repo and build the project using Xcode.

You can run this in your terminal -

git clone https://github.com/laanayabdrzak/Guidomia.git
cd Guidomia
open Guidomia/Guidomia.xcworkspace

Developed By

Author: Abderrazak LAANAYA

Follow me on LinkedIn

About

A simple app loading a list of cars from Local JSON file & Save it on Local Database.


Languages

Language:Swift 99.5%Language:Ruby 0.5%