XLForm
XLForm copied to clipboard
Adds ability to specify a titleView on sections.
Example usage:
section = [XLFormSectionDescriptor formSectionWithTitle:@"Real examples"];
section.titleView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 50)]
// Basically anything that's a subclass of UIView
The UITableViewDelegate will fall back to using -(NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)
if the titleView
is nil
.
:+1: It will be an awesome feature in ProMotion-XLForm
Any chance of getting this merged?
Pretty please? :+1:
I hate having to reference my branch instead of the official cocoapod. :cry:
It seems to me that this does not work well together with sections that have a title set. It changes the way the headerheight is calculated