SternX

A simple application gets a list of posts and then gets 5 top users.

Description

A simple application gets a list of posts and then gets 5 top users, which releases more posts. Finally show the report in the console the list of users with ID and the average post length. Used the SOLID principle and MVVM architecture to implement the API calls.

Requirements

  • iOS 16.0+
  • Xcode 15.0

Getting Started

  1. Make sure you have the Xcode version 15.0 or above installed on your computer.
  2. Download the project files from the repository.
  3. This project does not need to install any dependencies.
  4. Open the project files in Xcode.
  5. Run the active scheme.

You should see the list of users with averages of post length printed on the console.

Architecture

  • MVVM
  • Combine

Test

  • Unit test