SEssentialsTabbedViewDelegate Protocol Reference

Conforms to NSObject
Declared in SEssentialsTabbedViewDelegate.h
Availability
Related samples

Overview

These callbacks allow for notification and control of events occurring in the tabbed view. When the user adds, removes, activates or moves a tab a callback is generated.

Instance Methods

tabbedView:didAddTab:

This is called after a tab is added

- (void)tabbedView:(SEssentialsTabbedView *)tabbedView didAddTab:(SEssentialsTab *)tab

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that was added

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:didMoveTab:fromIndex:toIndex:

This is called after a tab is moved

- (void)tabbedView:(SEssentialsTabbedView *)tabbedView didMoveTab:(SEssentialsTab *)tab fromIndex:(NSInteger)fromIndex toIndex:(NSInteger)toIndex

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that was moved

fromIndex

the index from which the tab was moved

toIndex

the index to which the tab was moved

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:didRemoveTab:

This is called after a tab is removed

- (void)tabbedView:(SEssentialsTabbedView *)tabbedView didRemoveTab:(SEssentialsTab *)tab

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that was removed

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:shouldAddTab:

This is called before a tab is added to determine whether or not the tab should be added

- (BOOL)tabbedView:(SEssentialsTabbedView *)tabbedView shouldAddTab:(SEssentialsTab *)tab

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that should be added

Return Value

a boolean value indicating if the tab should be added

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:shouldMoveTab:

This is called before a tab is moved to determine whether or not the tab should be moved

- (BOOL)tabbedView:(SEssentialsTabbedView *)tabbedView shouldMoveTab:(SEssentialsTab *)tab

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that should be moved

Return Value

a boolean value indicating if the tab should be moved

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:shouldRemoveTab:

This is called before a tab is removed to determine whether or not the tab should be removed

- (BOOL)tabbedView:(SEssentialsTabbedView *)tabbedView shouldRemoveTab:(SEssentialsTab *)tab

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that should be removed

Return Value

a boolean value indicating if the tab should be removed

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:tabDidBecomeActive:

This is called after a tab becomes active

- (void)tabbedView:(SEssentialsTabbedView *)tabbedView tabDidBecomeActive:(SEssentialsTab *)tab

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that did become active

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:tabDidBecomeInactive:

This is called after a tab becomes inactive

- (void)tabbedView:(SEssentialsTabbedView *)tabbedView tabDidBecomeInactive:(SEssentialsTab *)tab

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that did become inactive

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:tabShouldBecomeActive:

This is called before a tab becomes active to determine whether or not the tab should be made active

- (BOOL)tabbedView:(SEssentialsTabbedView *)tabbedView tabShouldBecomeActive:(SEssentialsTab *)tab

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that should become active

Return Value

a boolean value indicating if the tab should become active

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:tabShouldBecomeInactive:

This is called before a tab becomes inactive to determine whether or not the tab should become inactive

- (BOOL)tabbedView:(SEssentialsTabbedView *)tabbedView tabShouldBecomeInactive:(SEssentialsTab *)tab

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that should become inactive

Return Value

a boolean value indicating if the tab should become inactive

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:tabWillBecomeActive:

This is called before a tab becomes active

- (void)tabbedView:(SEssentialsTabbedView *)tabbedView tabWillBecomeActive:(SEssentialsTab *)tab

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that will become active

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:tabWillBecomeInactive:

This is called before a tab becomes inactive

- (void)tabbedView:(SEssentialsTabbedView *)tabbedView tabWillBecomeInactive:(SEssentialsTab *)tab

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that will become inactive

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:willAddTab:

This is called before a tab is added

- (void)tabbedView:(SEssentialsTabbedView *)tabbedView willAddTab:(SEssentialsTab *)tab

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that will be added

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:willMoveTab:fromIndex:toIndex:

This is called before a tab is moved to a new position

- (void)tabbedView:(SEssentialsTabbedView *)tabbedView willMoveTab:(SEssentialsTab *)tab fromIndex:(NSInteger)fromIndex toIndex:(NSInteger)toIndex

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that will be moved

fromIndex

the index from which the tab will be moved

toIndex

the index to which the tab will be moved

Declared In

SEssentialsTabbedViewDelegate.h

tabbedView:willRemoveTab:

This is called before a tab is removed

- (void)tabbedView:(SEssentialsTabbedView *)tabbedView willRemoveTab:(SEssentialsTab *)tab

Parameters

tabbedView

the SEssentialsTabbedView that contains the tab

tab

the SEssentialsTab that will be removed

Declared In

SEssentialsTabbedViewDelegate.h