mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-25 11:50:42 +00:00
Merge pull request #1471 from tfc/cappuccino
--- ...and fixed my last documentation commit for CPSplitView.
This commit is contained in:
+13
-1
@@ -272,7 +272,19 @@ var CPScrollerStyleGlobal = CPScrollerStyleOverlay,
|
||||
}
|
||||
|
||||
/*!
|
||||
Set the delegate of the scroll view
|
||||
Sets the delegate of the scroll view.
|
||||
Possible delegate methods to implement are listed below.
|
||||
|
||||
Notifies the delegate when the scroll view is about to scroll.
|
||||
@code
|
||||
- (void)scrollViewWillScroll:(CPScrollView)aScrollView
|
||||
@endcode
|
||||
|
||||
Notifies the delegate when the scroll view has finished scrolling.
|
||||
@code
|
||||
- (void)scrollViewDidScroll:(CPScrollView)aScrollView
|
||||
@endcode
|
||||
|
||||
*/
|
||||
- (void)setDelegate:(id)aDelegate
|
||||
{
|
||||
|
||||
@@ -883,12 +883,12 @@ Notifies the delegate when the subviews will be resized.
|
||||
- (void)splitViewWillResizeSubviews:(CPNotification)aNotification;
|
||||
@endcode
|
||||
|
||||
Lets the delegate specify a different rect for which the user can drag the splitView divider.
|
||||
Allows the delegate to specify which of the CPSplitView's subviews should adjust if the window is resized.
|
||||
@code
|
||||
- (BOOL)splitView:(CPSplitView)aSplitView shouldAdjustSizeOfSubview:(CPView)aSubView
|
||||
@endcode
|
||||
|
||||
Allows the delegate to specify which of the CPSplitView's subviews should adjust if the window is resized.
|
||||
Lets the delegate specify a different rect for which the user can drag the splitView divider.
|
||||
@code
|
||||
- (CGRect)splitView:(CPSplitView)aSplitView effectiveRect:(CGRect)aRect forDrawnRect:(CGRect)aDrawnRect ofDividerAtIndex:(int)aDividerIndex;
|
||||
@endcode
|
||||
|
||||
Reference in New Issue
Block a user