infinum / ios-sentinel

Developer’s toolbox for debugging applications
Apache License 2.0
4 stars 1 forks source link

[WIP] Support for different preference input types #32

Open nikolamajcen opened 6 months ago

nikolamajcen commented 6 months ago

Based on #27, I've created a proposed solution without breaking backward compatibility for new input types.

Currently, there are only two types;

Which can be improved based on the changes @manuelvrhovac created in the PR mentioned. Also, additionally I added support for custom validators (two for now), which are type dependent and can be easily used on the item level.

@manuelvrhovac I would suggest checking this implementation (as this is an example of how we can simplify things), but with a new feature and idea you proposed. Let me know what you think.

Note This is still WIP and should be discussed.