davdroman/Bohr

Feature request: set static footer programmatically

ealeksandrov opened this issue · 5 comments

Common thing on settings screens - to show version and build number in footer. This can't be done from storyboard, only in runtime, so I want property like defaultFooterTitle. It even can be configured for each section. So priorities for section footers will be: 1) storyboard 2) default from property 3) cells dynamic footers.

Thanks!

I propose action for setup method - [self setDefaultFooter:@"Build N here" forSection:0];

Well thought. I'm totally into the defaultFooterTitle thing, but I'd do it for every cell and pick the one from the last cell in every section (keeping mentioned priorities, of course).

It wouldn't take more than 20 lines of code, so let me work on it.

There you go!

Thanks a lot!