davdroman / Bohr

Settings screen composing framework
MIT License
1.26k stars 83 forks source link

Add support for disabling / enabling a cell. #39

Open animaonline opened 8 years ago

animaonline commented 8 years ago

For example a BOButtonTableViewCell that is used to initiate an IAP.

davdroman commented 8 years ago

That's a good one, although I don't think the current API is flexible enough to offer this kind of feature, as it'd be necessary to do some code duplication from chunks like this to achieve that effect.

That's why I propose to move this feature to the 4.0.0 milestone and discuss further detail implementations in #33. I can easily think of a neat enum-based implementation for hidden, enabled and some more states depending on a certain setting value.