nimblehq/nimble-crypto-ios

[Integrate] As a user, I can pull to refresh data on the Detail screen

nkhanh44 opened this issue · 0 comments

Why

  • The user should be able to refresh all data on the detail screen by pulling.

Acceptance Criteria

When pulling, the spinner will be displayed as the following:

In the light mode:

Screenshot 2022-12-20 at 13 14 50

In the dark mode:

Screenshot 2022-12-20 at 13 14 55

We can use the default iOS spinner.

The following APIs will be called:

  • Get coin detail: GET /coins/{id}
  • Get coin prices:
    • For 1D, 7D, 1M, 1Y 5Y price: GET /coins/{id}/market_chart

The chart will be displayed with 1D timeframe, and the timeframe is set to 1D as default.

Resources