JKExpandTableViewDataSource
IntroductionUsers of this class must implement this protocol. Methods
iconForCellAtChildIndex:withinParentCellIndex:@optional ParametersReturn ValueUIImage shown to the left of the label for the child. DiscussionOptional method iconForParentCellAtIndex:@optional ParametersReturn ValueUIImage shown to the left of the label for the parent. DiscussionOptional method labelForCellAtChildIndex:withinParentCellIndex:@required ParametersReturn ValueThe label string shown on the child cell. labelForParentCellAtIndex:@required ParametersReturn ValueThe label string shown on the parent cell. numberOfChildCellsUnderParentIndex:@required ParametersReturn ValueThe total number of children cells under each parent in this table. numberOfParentCells@required Return ValueThe total number of parent cells in this table. shouldDisplaySelectedStateForCellAtChildIndex:withinParentCellIndex:@required ParametersReturn ValueYES if the child is selected. Otherwise, NO. shouldRotateIconForParentOnToggle@optional Return ValueYES if the parent icon should be rotated 90 degrees when parent is toggled. Otherwise, return NO. DiscussionOptional method |