Code Monkey home page Code Monkey logo

essentialapp's Introduction

EssentialApp

CI-iOS CI-macOS Deploy

This is a regular news feed application built on a multimodal basis.

The application is divided into the following modules, some of which are platform-independent, i.e., can be used for macOS, tvOS, watchOS:

  • Essential Feed - platform-agnostic framework, contain core logic
  • Essential Feed API - platform-agnostic framework, contain logic collaborating with the network
  • Essential Feed Cache - platform-agnostic framework, contain cache logic using CoreData storage.
  • Essential Feed Presentation - platform agnostic framework, contain presentation logic
  • Essential Feed iOS - contain UIKit representation logic.
  • Essential App - application module. Contain composition logic.

This approach demonstrates a flexible architecture that makes the code extensible.
Multi-modularity is illustrated in the picture below.

Test coverage:

All application modules are tested by using unit tests;
Essential Feed Cache and Essential Feed API modules are additionally covered by the integration tests.
Essential Feed iOS additionally covered by snapshot tests;

CI / CD

The main development in the project is in the ‘develop’ branch. Each push / pull_request in the main branch trigger
CI_macOS - run tests for platform-agnostic modules on “platform=macOS”
CI_iOS - run tests for all modules which should be available on iOS, including integration tests on “name=iPhone 12,OS=14.2”
It also triggers the job to deploy the build result in TestFlight.

Features:

  1. Localization on 3 languages
  2. Dark / light mode
  3. Support accessibility fonts
  4. Prefetching cells

App Architecture

App Architecture

App Requirements

Feed Image Use Cases

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.