XLForm icon indicating copy to clipboard operation
XLForm copied to clipboard

Adds ability to specify a titleView on sections.

Open markrickert opened this issue 9 years ago • 4 comments

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.

markrickert avatar Aug 24 '15 15:08 markrickert

:+1: It will be an awesome feature in ProMotion-XLForm

bmichotte avatar Aug 24 '15 16:08 bmichotte

Any chance of getting this merged?

markrickert avatar Oct 05 '15 17:10 markrickert

Pretty please? :+1:

I hate having to reference my branch instead of the official cocoapod. :cry:

markrickert avatar Feb 26 '16 20:02 markrickert

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

mats-claassen avatar May 24 '16 20:05 mats-claassen