IGGridViewSectionHeaderCell Class Reference
IGGridViewSectionHeaderCell is the visual used to diplay cells for section headers in the IGGridView.
The main display element of an IGGridViewCell is the textLabel which can be used to display text for the cell.
To place other visuals in the header of a secion, you can use the IGGridViewDelegate’s -(UIView)gridView:(IGGridView)gridView viewForSectionHeader:(int)section;
The UIButton in the section header that is used for toggling expansion
@property (nonatomic, readonly) UIButton *expandButton
When set to YES, the section header can be clicked to toggle expansion the section.
@property (nonatomic, assign) BOOL expandable
Note: the datasource must support expansion for anything to actually occur.
Determines if the section is currently expanded or collapsed (readOnly)
@property (nonatomic, readonly) BOOL expanded
A UIColor that determines the pressed color used when the expandButton is in it’s pressed state.
@property (nonatomic, retain) UIColor *pressedBackgroundColor
Helper method for creating a IGGridViewSectionHeaderCell. Also sets the theme information and calls the appropriate delegate/datasource methods.
+ (IGGridViewSectionHeaderCell *)gridView:(IGGridView *)gridView cellForSectionHeader:(NSInteger)section
The IGGridView that the cell will be displayed in.
The index of the section that this cell will represent.