diff --git a/AppKit/CPScrollView.j b/AppKit/CPScrollView.j index a6e7efcff..59ee00a4d 100644 --- a/AppKit/CPScrollView.j +++ b/AppKit/CPScrollView.j @@ -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 { diff --git a/AppKit/CPSplitView.j b/AppKit/CPSplitView.j index 94116246b..9273693d4 100644 --- a/AppKit/CPSplitView.j +++ b/AppKit/CPSplitView.j @@ -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