devtools-library icon indicating copy to clipboard operation
devtools-library copied to clipboard

Add iOS TimeTool View Implementation

Open maximbircu opened this issue 4 years ago • 0 comments

Abstract

Sometimes, we might have time as a configuration value. Sure thing that a timestamp most probably will be of a Long time. Thus, a TextTool could be used to represent it. Though, using the text tool, in this case, might not be handy, especially for high values.

A TimeTool was implemented in #20. It helps the library consumer manipulate easily time tool values by adding a good UX in the form of a time picker, on Android. We should ad a TimeTool view implementation for iOS too.

Requirements

Add a view implementation for TimeTool.

Implementation details

The time tool logic is already implemented inside the common module, you just need to provide a view implementation for it. So, basically you need to:

Consumer flow

  1. Open the sample app and go to the YML dev tools screen.
  2. Find the TimeTool UI control
  3. Try to update the configuration value and make sure it's persisted after app restart.

Repeat the same use-case for Memory dev tools screen.

maximbircu avatar Apr 08 '20 17:04 maximbircu