Conforms to NSObject
Declared in IGTreemapViewDelegate.h

Instance Methods

treemapView:handlePinchGestureWithNode:

Handles the pinch gesture. The treemap will drill back to the parent node on pinch in, when this delegate method isn’t handled.

- (void)treemapView:(IGTreemapView *)treemapView handlePinchGestureWithNode:(IGTreemapNode *)node

Parameters

treemapView

Reference to the treemap.

node

current root node of the treemap.

Declared In

IGTreemapViewDelegate.h

treemapView:tapWithNode:atPoint:

This method provides the handling of the tap gesture.

- (void)treemapView:(IGTreemapView *)treemapView tapWithNode:(IGTreemapNode *)node atPoint:(CGPoint)point

Parameters

treemapView

Reference to the treemap.

node

Current treemap node.

point

The touch location.

Declared In

IGTreemapViewDelegate.h

treemapView:viewForLeafWithNode:

Provides a custom view to be used for any leaf node. Use this method to place a custom view in a leaf node. This can be useful during drill down: as leaf nodes become larger, they can display additional content.

- (UIView *)treemapView:(IGTreemapView *)treemapView viewForLeafWithNode:(IGTreemapNode *)node

Parameters

treemapView

Reference to the treemap.

node

Current treemap node.

Return Value

Returns the view that will be placed in the lead node.

Declared In

IGTreemapViewDelegate.h

treemapView:viewForTooltipWithNode:

This method allows the user to supply a UIView that will be used as a tooltip for a treemap node.

- (UIView *)treemapView:(IGTreemapView *)treemapView viewForTooltipWithNode:(IGTreemapNode *)node

Parameters

treemapView

Reference to the treemap.

node

Current treemap node.

Return Value

Returns the view that will be the treemap node’s tooltip.

Declared In

IGTreemapViewDelegate.h