CNSplitViewToolbarDelegate Protocol Reference
Conforms to | NSObject |
Declared in | CNSplitViewToolbarDelegate.h |
Overview
Each of these delegate methods will also perform a notification post with the sender (CNSplitView
instance) as notification object and a userInfo dictionary (except toolbarAttachedSubviewIndex:
).
The userInfo dictionary contains two elements that are accessible by these constants:
CNUserInfoToolbarKey
The value of the object represented by this key holds the attached CNSplitViewToolbar
.
CNUserInfoEdgeKey
This object is a NSNumber
containing the CNSplitViewToolbarEdge
value the toolbar is attached to.
Tasks
-
– toolbarAttachedSubviewIndex:
Asks the delegate about the index of the subview where the toolbar is attached to.
required method -
– splitView:willShowToolbar:onEdge:
Informs the delegate that the splitview will show the specified toolbar on the given edge.
-
– splitView:didShowToolbar:onEdge:
Informs the delegate that the splitview did show the specified toolbar on the given edge.
-
– splitView:willHideToolbar:onEdge:
Informs the delegate that the splitview will hide the specified toolbar on the given edge.
-
– splitView:didHideToolbar:onEdge:
Informs the delegate that the splitview did hide the specified toolbar on the given edge.
Instance Methods
splitView:didHideToolbar:onEdge:
Informs the delegate that the splitview did hide the specified toolbar on the given edge.
- (void)splitView:(CNSplitView *)theSplitView didHideToolbar:(CNSplitViewToolbar *)theToolbar onEdge:(CNSplitViewToolbarEdge)theEdge
Parameters
- theSplitView
The splitview that sends the message.
- theToolbar
The toolbar that is now hidden.
- theEdge
The edge the toolbar is attached to.
Declared In
CNSplitViewToolbarDelegate.h
splitView:didShowToolbar:onEdge:
Informs the delegate that the splitview did show the specified toolbar on the given edge.
- (void)splitView:(CNSplitView *)theSplitView didShowToolbar:(CNSplitViewToolbar *)theToolbar onEdge:(CNSplitViewToolbarEdge)theEdge
Parameters
- theSplitView
The splitview that sends the message.
- theToolbar
The toolbar that is now visible.
- theEdge
The edge the toolbar is attached to.
Declared In
CNSplitViewToolbarDelegate.h
splitView:willHideToolbar:onEdge:
Informs the delegate that the splitview will hide the specified toolbar on the given edge.
- (void)splitView:(CNSplitView *)theSplitView willHideToolbar:(CNSplitViewToolbar *)theToolbar onEdge:(CNSplitViewToolbarEdge)theEdge
Parameters
- theSplitView
The splitview that sends the message.
- theToolbar
The toolbar that will be hidden.
- theEdge
The edge the toolbar is attached to.
Declared In
CNSplitViewToolbarDelegate.h
splitView:willShowToolbar:onEdge:
Informs the delegate that the splitview will show the specified toolbar on the given edge.
- (void)splitView:(CNSplitView *)theSplitView willShowToolbar:(CNSplitViewToolbar *)theToolbar onEdge:(CNSplitViewToolbarEdge)theEdge
Parameters
- theSplitView
The splitview that sends the message.
- theToolbar
The toolbar that will be visible.
- theEdge
The edge the toolbar is attached to.
Declared In
CNSplitViewToolbarDelegate.h