- Edited
This is a serious problem, hence, I insist on this here.
In the past, UIToggle modes were simply addressed by their ordered numbering starting from 0 to N.
With this change it's possible to customize for different option modes. However, as is there is no translation mapping happening with the AvailableChoices onto pre-existing/default modes (from 0 to N). This messes existing implementations settings as well as every time there is a new change with the UIButton. It's put a huge burden on updating and when UIButton changes are made.
If a mapping would happen not only would it be possible to hand over out-of-order options shuffling (more design freedom) but would reduce updating to a mere renaming of the UIToggle at most or not at all even.
The code could look just like:
Default = 0
AvailableChoices = [203,105,350,11]
MappedChoices = [-1,0,1,2]
ToggledOnChoices = [1,2]