Conforms to NSObject
Declared in IGSlideTabView.h

Overview

The delegate of a IGSlideTabView object must adopt the IGSlideTabDelegate protocol. The optional methods of the protocol allow the delegate receiver to manage the interaction and layout events of the IGSlideTabView and all added tabs.

Tasks

Instance Methods

slideTabView:tab:layoutForBounds:

Informs the delegate receiver that the bounds of the IGSlideTabView has changed. This delegate method will be called for each tab item contained in the IGSlideTabView.

- (void)slideTabView:(IGSlideTabView *)slideTabView tab:(IGSlideTabItem *)tab layoutForBounds:(CGRect)bounds

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tab

The tab item contained in the IGSlideTabView whose bounds have changed.

bounds

The new bounds.

Declared In

IGSlideTabView.h

slideTabView:tab:layoutTabLabel:

Informs the delegate receiver that the default tab label of the IGSlideTabItem needs layout.

- (void)slideTabView:(IGSlideTabView *)slideTabView tab:(IGSlideTabItem *)tab layoutTabLabel:(UILabel *)label

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tab

The tab item contained in the IGSlideTabView whose label needs layout.

label

The label needing layout.

Declared In

IGSlideTabView.h

slideTabView:tabCollapsed:

Informs the delegate receiver that the tab item has collapsed.

- (void)slideTabView:(IGSlideTabView *)slideTabView tabCollapsed:(IGSlideTabItem *)tabCollapsed

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabCollapsed

The tab item that has collapsed.

Declared In

IGSlideTabView.h

slideTabView:tabCollapsing:

Requests information from the delegate receiver to allow or prevent the tab collapsing.

- (BOOL)slideTabView:(IGSlideTabView *)slideTabView tabCollapsing:(IGSlideTabItem *)tabCollapsing

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabCollapsing

The tab item requesting to collapse.

Return Value

A BOOL value to allow or prevent the collapse.

Declared In

IGSlideTabView.h

slideTabView:tabContentSizeChanged:

Informs the delegate receiver that the tab item’s content size has changed.

- (void)slideTabView:(IGSlideTabView *)slideTabView tabContentSizeChanged:(IGSlideTabItem *)tab

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tab

The tab item whose content size changed.

Declared In

IGSlideTabView.h

slideTabView:tabDragged:

Informs the delegate receiver that the tab item is being dragged.

- (void)slideTabView:(IGSlideTabView *)slideTabView tabDragged:(IGSlideTabItem *)tabDragged

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabDragged

The tab item being dragged.

Declared In

IGSlideTabView.h

slideTabView:tabDragging:

Requests information from the delegate receiver to allow or prevent the tab drag.

- (BOOL)slideTabView:(IGSlideTabView *)slideTabView tabDragging:(IGSlideTabItem *)tabDragging

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabDragging

The tab item requesting the drag.

Return Value

A BOOL value to allow or prevent the dragging.

Declared In

IGSlideTabView.h

slideTabView:tabExpanded:

Informs the delegate receiver that the tab item has expanded.

- (void)slideTabView:(IGSlideTabView *)slideTabView tabExpanded:(IGSlideTabItem *)tabExpanded

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabExpanded

The tab item that has expanded.

Declared In

IGSlideTabView.h

slideTabView:tabExpanding:

Requests information from the delegate receiver to allow or prevent the tab expanding.

- (BOOL)slideTabView:(IGSlideTabView *)slideTabView tabExpanding:(IGSlideTabItem *)tabExpanding

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabExpanding

The tab item requesting to expanding.

Return Value

A BOOL value to allow or prevent the expanding.

Declared In

IGSlideTabView.h

slideTabView:tabHid:

Informs the delegate receiver that the tab item has been hidden.

- (void)slideTabView:(IGSlideTabView *)slideTabView tabHid:(IGSlideTabItem *)tabHid

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabHid

The tab item that has hid.

Declared In

IGSlideTabView.h

slideTabView:tabHiding:

Requests information from the delegate receiver to allow or prevent the tab hiding.

- (BOOL)slideTabView:(IGSlideTabView *)slideTabView tabHiding:(IGSlideTabItem *)tabHiding

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabHiding

The tab item requesting to hide.

Return Value

A BOOL value to allow or prevent the hiding.

Declared In

IGSlideTabView.h

slideTabView:tabLocationChanged:fromLocation:

Informs the delegate receiver that the tab item has changed its location.

- (void)slideTabView:(IGSlideTabView *)slideTabView tabLocationChanged:(IGSlideTabItem *)tabChanged fromLocation:(IGSlideTabLocation)location

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabChanged

The tab item that has changed its location.

location

The previous tab item location.

Declared In

IGSlideTabView.h

slideTabView:tabLocationChanging:toLocation:

Requests information from the delegate receiver to allow or prevent the tab from changing its location.

- (BOOL)slideTabView:(IGSlideTabView *)slideTabView tabLocationChanging:(IGSlideTabItem *)tabChanging toLocation:(IGSlideTabLocation)location

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabChanging

The tab item requesting to hide.

location

The tab item’s target location.

Return Value

A BOOL value to allow or prevent the location change.

Declared In

IGSlideTabView.h

slideTabView:tabPulsing:

Requests information from the delegate receiver to allow or prevent the tab pulsing.

- (BOOL)slideTabView:(IGSlideTabView *)slideTabView tabPulsing:(IGSlideTabItem *)tabPulsing

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabPulsing

The tab item requesting to pulse.

Return Value

A BOOL value to allow or prevent the pulse.

Declared In

IGSlideTabView.h

slideTabView:tabShowing:

Requests information from the delegate receiver to allow or prevent from showing. This method is called when the isHidden property of the IGSlideTabItem has been set to NO.

- (BOOL)slideTabView:(IGSlideTabView *)slideTabView tabShowing:(IGSlideTabItem *)tabShowing

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabShowing

The tab item requesting to be shown.

Return Value

A BOOL value to allow or prevent the tab from showing.

Declared In

IGSlideTabView.h

slideTabView:tabShown:

Informs the delegate receiver that the tab item has been shown. This method is called when the isHidden property of the IGSlideTabItem has been set to NO.

- (void)slideTabView:(IGSlideTabView *)slideTabView tabShown:(IGSlideTabItem *)tabShown

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabShown

The tab item that has been shown.

Declared In

IGSlideTabView.h

slideTabView:tabSwiped:swipeDirection:

Informs the delegate receiver that the tab item has been swiped.

- (void)slideTabView:(IGSlideTabView *)slideTabView tabSwiped:(IGSlideTabItem *)tabSwiped swipeDirection:(UISwipeGestureRecognizerDirection)direction

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabSwiped

The tab item that has been swiped.

direction

The direction of the swipe.

Declared In

IGSlideTabView.h

slideTabView:tabSwiping:swipeDirection:

Requests information from the delegate receiver to allow or prevent a swipe.

- (BOOL)slideTabView:(IGSlideTabView *)slideTabView tabSwiping:(IGSlideTabItem *)tabSwiping swipeDirection:(UISwipeGestureRecognizerDirection)direction

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabSwiping

The tab item requesting to swipe.

direction

The direction of the swipe.

Return Value

A BOOL value to allow or prevent the swipe.

Declared In

IGSlideTabView.h

slideTabView:tabTapped:

Informs the delegate receiver that the tab item has been tapped.

- (void)slideTabView:(IGSlideTabView *)slideTabView tabTapped:(IGSlideTabItem *)tabTapped

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabTapped

The tab item that has been tapped.

Declared In

IGSlideTabView.h

slideTabView:tabTapping:

Requests information from the delegate receiver to allow or prevent the tapping.

- (BOOL)slideTabView:(IGSlideTabView *)slideTabView tabTapping:(IGSlideTabItem *)tabTapping

Parameters

slideTabView

The IGSlideTabView containing the tab item.

tabTapping

The tab item requesting the tap.

Return Value

A BOOL value to allow or prevent the tapping.

Declared In

IGSlideTabView.h