Instance Property

delegate

The delegate of the scroll-view object.

Declaration

@property(nonatomic, weak) id<UIScrollViewDelegate> delegate;

Discussion

The delegate must adopt the UIScrollViewDelegate protocol. The UIScrollView class, which does not retain the delegate, invokes each protocol method the delegate implements.

See Also

Responding to Scroll View Interactions

UIScrollViewDelegate

The methods declared by the UIScrollViewDelegate protocol allow the adopting delegate to respond to messages from the UIScrollView class and thus respond to, and in some affect, operations such as scrolling, zooming, deceleration of scrolled content, and scrolling animations.