Conforms to UIScrollViewDelegate
Declared in IGFlowLayoutView.h

Overview

The protocol for the IGFlowLayoutView’s delegate proerty. All methods on this protocol are optional, and provide additional information for selection, resizing and reordering.

Instance Methods

flowLayoutView:dragCompleteForItemAt:

Tells the delegate that the user has finished a drag operation.

- (void)flowLayoutView:(IGFlowLayoutView *)flowLayoutView dragCompleteForItemAt:(NSInteger)index

Parameters

flowLayoutView

The flowLayoutView providing the information.

index

The new index of the item dragged.

Declared In

IGFlowLayoutView.h

flowLayoutView:editItemDeselectedAtIndex:

Tells the delegate that an item was unselected.

- (void)flowLayoutView:(IGFlowLayoutView *)flowLayoutView editItemDeselectedAtIndex:(NSInteger)index

Parameters

flowLayoutView

The flowLayoutView providing the information.

index

The index of the item that was previously selected.

Declared In

IGFlowLayoutView.h

flowLayoutView:editItemSelectedAtIndex:

Tells the delegate that the user has just selected a new item in flow layout view.

- (void)flowLayoutView:(IGFlowLayoutView *)flowLayoutView editItemSelectedAtIndex:(NSInteger)index

Parameters

flowLayoutView

The flowLayoutView providing the information.

index

The index of the item selected.

Declared In

IGFlowLayoutView.h

flowLayoutView:itemIndexChangedFrom:to:

Tells the delegate that the user has just moved an item in the flow layout view.

- (void)flowLayoutView:(IGFlowLayoutView *)flowLayoutView itemIndexChangedFrom:(NSInteger)oldIndex to:(NSInteger)newIndex

Parameters

flowLayoutView

The flowLayoutView providing the information.

oldIndex

The original index of the item.

newIndex

The new index of the item.

Declared In

IGFlowLayoutView.h

flowLayoutView:itemSizeChangedFrom:to:at:

Tells the delegate that the user has just resized an item in the flow layout view.

- (void)flowLayoutView:(IGFlowLayoutView *)flowLayoutView itemSizeChangedFrom:(CGSize)oldSize to:(CGSize)newSize at:(NSInteger)index

Parameters

flowLayoutView

The flowLayoutView providing the information.

oldSize

The size prior to resizing.

newSize

The new size of the item.

index

The index of the item reszied.

Declared In

IGFlowLayoutView.h

flowLayoutView:resizeCompleteForItemAt:

Tells the delegate that the user has finished a resize operation.

- (void)flowLayoutView:(IGFlowLayoutView *)flowLayoutView resizeCompleteForItemAt:(NSInteger)index

Parameters

flowLayoutView

The flowLayoutView providing the information.

index

The index of the item reszied.

Declared In

IGFlowLayoutView.h