#import <RWDNavigationBarItems.h>
◆ documentID()
| - (NSString * RWDNavigationBarItemsValidatorHandler) documentID |
|
|
|
|
optional |
This method is for getting document's ID
◆ handleButtonWithType:sender:()
| - (void RWDNavigationBarItemsValidatorHandler) handleButtonWithType: |
|
(RWDNavigationButtonType) |
type |
| sender: |
|
(id) |
sender |
|
|
| |
This method should handle the action of a button with given type.
- Parameters
-
| type | is the button type defined by enumerator RWDNavigationButtonType. |
| sender | is the real sender if it is a custom view which has different states (such as UISegmentedControl), or nil otherwise. |
◆ isButtonDisabledWithType:()
| - (BOOL RWDNavigationBarItemsValidatorHandler) isButtonDisabledWithType: |
|
(RWDNavigationButtonType) |
type |
|
This method should return whether the button with given type is disbaled.
- Parameters
-
| type | is the button type defined by enumerator RWDNavigationButtonType. |
- Returns
- YES to gray out and disable the button in its corresponding places (left/right navigation items or shared bar).
◆ isCollaborationEnabled()
| - (BOOL RWDNavigationBarItemsValidatorHandler) isCollaborationEnabled |
|
|
|
This method should return whether the collaboration is enabled in the bar.
◆ navigationTabBarController()
| - (NavigationTabBarController * RWDNavigationBarItemsValidatorHandler) navigationTabBarController |
|
|
|
|
optional |
This method is for customizing more button title.
◆ orientation()
| - (UIInterfaceOrientation RWDNavigationBarItemsValidatorHandler) orientation |
|
|
|
|
optional |
This method is for getting document's current orientation
◆ themeType()
| - (ThemeType RWDNavigationBarItemsValidatorHandler) themeType |
|
|
|
|
optional |
This method is for customizing theme related button color
◆ validateButtonWithType:()
| - (BOOL RWDNavigationBarItemsValidatorHandler) validateButtonWithType: |
|
(RWDNavigationButtonType) |
type |
|
This method should return the validation of a button with given type.
- Parameters
-
| type | is the button type defined by enumerator RWDNavigationButtonType. |
- Returns
- YES to show the button in its corresponding places (left/right navigation items or shared bar).