RBMenuViewDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | RBMenuView.h |
– menuView:segmentIdentifier:buttonWasTappedWithIdentifier:
Called when a menu button is tapped.
- (void)menuView:(nonnull RBMenuView *)menuView segmentIdentifier:(nonnull NSString *)segmentIdentifier buttonWasTappedWithIdentifier:(nonnull NSString *)buttonidentifier
Parameters
menuView |
The |
---|---|
segmentIdentifier |
The identifier of the segment. |
buttonidentifier |
The identifier of the button. |
Discussion
Called when a menu button is tapped.
Declared In
RBMenuView.h
– menuView:segmentIdentifier:toggleButtonWithIdentifier:selectionDidChangeTo:
Called when a menu toggle button is tapped.
- (void)menuView:(nonnull RBMenuView *)menuView segmentIdentifier:(nonnull NSString *)segmentIdentifier toggleButtonWithIdentifier:(nonnull NSString *)toggleButtonIdentifier selectionDidChangeTo:(BOOL)selected
Parameters
menuView |
The |
---|---|
segmentIdentifier |
The name of the segment. |
toggleButtonIdentifier |
The name of the toggle button. |
selected |
Whether or not the toggle button was selected (true) or unselected (false). |
Discussion
Called when a menu toggle button is tapped.
Declared In
RBMenuView.h