Giter Site home page Giter Site logo

ebay_t's Introduction

ebay_t

First checkout the project and start the Ebay_t.xcodeproj file, there are no third party dependencies, so it’s pretty simple. In case you want to build on a real device, add your bundle ID project settings.

User Interface:

  • Just build the app and you will see the loading screen while the home list data is being fetched from the API.
  • After the successful data retrieval, ten launches are shown.
  • In case of any error an alert is presented (turn the internet off and restart the app or try to tap a destination to try it out). Of course, this can be done in much more detail if Reachability class is used, but it would go outside of scope of this test project and it was mentioned to avoid 3rd party libs or other solutions.
  • Everything you see in this project is custom made, so nothing has been copied or used from some other source.
  • To see the launch details tap on the cell and Details Screen will appear.
  • When tapping on the map, another screen will appear where the url of the map will be opened in the web view
  • Turn the internet off, the app will still function.
  • On the main screen you can filter the list based on any of the 4 labels (their text)

Architecture:

  • MMVM-C is used as an app design pattern since it complements Apple's native, out of the box, MVC for UIKit and it's new MVVM in SwiftUI. Coordinator takes the role of presenting the application flow (like push, pop etc.).
  • Networking module is independent and can be implemented anywhere. It is based on Apple's “URLSession” and generics so no third party libs have been used.
  • There is a custom loading screen and alert for the user feedback.
  • Unit tests are made for view models and moc JSON of products list and details, they are just examples
  • Reusable components have been made (like imageview) for illustration purposes.
  • Sample unit test have been made to see the approach, of course it is much more testable.
  • File organisation:
    • App - App related data *Models
    • Views
    • ViewControllers
    • ViewModels
    • Lib - all custom made libraries with the main one being the networking module under “Networking”
    • Resources - storyboards, strings, images

ebay_t's People

Watchers

Pavle Mijatovic 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.