arvindravi / CreditScore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftPM Compatible PRs Welcome

CreditScore

CreditScore is an iOS app that fetches credit information of a sample user and displays it.

Requirements

  • Xcode 12
  • iOS 13

Technical Notes

The app uses the MVP architecture to co-ordinate fetching the data via CreditKit and displaying them on screen.

It's built using UIKit and has a simple two-page flow:

  • Home Screen

Displays the credit score.

  • Credit Information View

It's a detail view where additional credit information is displayed.

Dependencies

CreditScore depends on CreditKit which is a Swift Package that interfaces with the API to return the required information.

Tests

The app is covered with Unit and UITests:

  • The presentation logic is covered under Unit Tests and uses a mocked view and the service layer to test the presenter.

  • The app's journeys are covered with UITests.

  • Additionally, CreditKit is covered with Unit Tests to ensure it fetches the data as expected.

License

MIT

About


Languages

Language:Swift 100.0%