devtools-library
devtools-library copied to clipboard
Add iOS EnumTool view implementation
Abstract
The EnumTool was already implemented, it enables the ability to limit the configuration value options the library user is able to select. An android view implementation was already added in #21 now we need to implement the same view for iOS.
Requirements
Add EnumTool view implementation for iOS
![](https://user-images.githubusercontent.com/12527390/79076256-5bfd7d00-7d01-11ea-91fc-597a198fc31f.png)
Implementation details
The toggle tool logic is already implemented inside the common module, you just need to provide a view implementation for it. So basically you need to:
- Provide an implementation for EnumToolView
- Consume the EnumToolPresenter
Consumer flow
- Open the sample app and go to the YML dev tools screen.
- Find the EnumTool UI control
- 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.