tgebarowski / SwiftySettings

SwiftySettings is a Swift library for building and presenting in app settings.
MIT License
53 stars 11 forks source link

Using custom editor with SwiftySettings? #10

Open jmcazaux opened 7 years ago

jmcazaux commented 7 years ago

Hi there,

I have a use case where users will edit colors?

Is there a way to trigger a custom editor (in my case a color picker) from a SwiftySetting node ?

As well it would be good to be able to use Json to define settings. Is it something that was considered or not a good idea in the end ?

tgebarowski commented 7 years ago

Hi,

I am afraid that you would have to add your own subclass of SettingsCell, provide corresponding model class and extend SettingsViewController. So in the end it would require changes in the framework itself.

Making SwiftySettings more extensible is definitely something worth considering, but due to lack of time I am not planning to do it in foreseeable future.