JKExpandTableViewDelegate
IntroductionUsers of this class must implement this protocol. Methods
backgroundColor@optional Return ValueUIColor DiscussionOptional method to set custom foreground color. fontForChildren@optional Return ValueUIFont for the label on the children cells DiscussionOptional method to set custom Font for the labels on the Children cells. fontForParents@optional Return ValueUIFont for the label on the parent cells DiscussionOptional method to set custom font for the labels on the Parent cells. foregroundColor@optional Return ValueUIColor DiscussionOptional method to set custom foreground color. selectionIndicatorIcon@optional Return ValueUIImage DiscussionOptional method to set a custom selection indicator icon. shouldSupportMultipleSelectableChildrenAtParentIndex:@required ParametersReturn ValueYES if more than one child under this parent can be selected at the same time. Otherwise, return NO. DiscussionWithin a single JKExpandTableView, it is permissible to have a mix of multi-selectables and non-multi-selectables. tableView:didDeselectCellAtChildIndex:withInParentCellIndex:@optional ParametersDiscussionOptional method the delegate should implement to get notified when a child is clicked on. tableView:didSelectCellAtChildIndex:withInParentCellIndex:@optional ParametersDiscussionOptional method the delegate should implement to get notified when a child is clicked on. tableView:didSelectParentCellAtIndex:@optional ParametersDiscussionOptional method to get notified when a parent is clicked on. |