UIScrollView$Methods extension

on

Properties

adjustedContentInset UIEdgeInsets

Available on UIScrollView, provided by the UIScrollView$Methods extension

adjustedContentInset
no setter
alwaysBounceHorizontal bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

alwaysBounceHorizontal
getter/setter pair
alwaysBounceVertical bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

alwaysBounceVertical
getter/setter pair
automaticallyAdjustsScrollIndicatorInsets bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

automaticallyAdjustsScrollIndicatorInsets
getter/setter pair
bounces bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

bounces
getter/setter pair
bouncesZoom bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

bouncesZoom
getter/setter pair
canCancelContentTouches bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

canCancelContentTouches
getter/setter pair
contentInset UIEdgeInsets

Available on UIScrollView, provided by the UIScrollView$Methods extension

contentInset
getter/setter pair
contentInsetAdjustmentBehavior UIScrollViewContentInsetAdjustmentBehavior

Available on UIScrollView, provided by the UIScrollView$Methods extension

contentInsetAdjustmentBehavior
getter/setter pair
contentLayoutGuide UILayoutGuide

Available on UIScrollView, provided by the UIScrollView$Methods extension

contentLayoutGuide
no setter
contentOffset ↔ CGPoint

Available on UIScrollView, provided by the UIScrollView$Methods extension

The current content offset of this scrollable container. If the scrollable container has a bounds property, bounds.origin must be equal to contentOffset.
getter/setter pair
contentSize → CGSize

Available on UIScrollView, provided by the UIScrollView$Methods extension

The total size of the content contained by this container. If this size exceeds the size of this container's visible size, then scrolling is possible.
no setter
contentSize$1 ← CGSize

Available on UIScrollView, provided by the UIScrollView$Methods extension

setContentSize:
no getter
coordinateSpace UICoordinateSpace

Available on UIScrollView, provided by the UIScrollView$Methods extension

The coordinate space of the focus items contained in this container. The focus items returned by focusItemsInRect: should report their frames in this coordinate space. If you are implementing this protocol, you may find it convenient to return the UIScreen as your coordinate space, and ensure that your contained items report their frames in screen space. Similarly, you might find that your focus items' containing UIView or UIWindow is the most convenient coordinate space to use. You may also choose to implement your own object that conforms to UICoordinateSpace, if that is the most natural solution for your architecture.
no setter
decelerating bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

isDecelerating
no setter
decelerationRate double

Available on UIScrollView, provided by the UIScrollView$Methods extension

decelerationRate
getter/setter pair
delaysContentTouches bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

delaysContentTouches
getter/setter pair
delegate UIScrollViewDelegate?

Available on UIScrollView, provided by the UIScrollView$Methods extension

delegate
getter/setter pair
directionalLockEnabled bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

isDirectionalLockEnabled
getter/setter pair
directionalPressGestureRecognizer UIGestureRecognizer

Available on UIScrollView, provided by the UIScrollView$Methods extension

directionalPressGestureRecognizer
no setter
dragging bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

isDragging
no setter
frameLayoutGuide UILayoutGuide

Available on UIScrollView, provided by the UIScrollView$Methods extension

frameLayoutGuide
no setter
horizontalScrollIndicatorInsets UIEdgeInsets

Available on UIScrollView, provided by the UIScrollView$Methods extension

horizontalScrollIndicatorInsets
getter/setter pair
indexDisplayMode UIScrollViewIndexDisplayMode

Available on UIScrollView, provided by the UIScrollView$Methods extension

indexDisplayMode
getter/setter pair
indicatorStyle UIScrollViewIndicatorStyle

Available on UIScrollView, provided by the UIScrollView$Methods extension

indicatorStyle
getter/setter pair
keyboardDismissMode UIScrollViewKeyboardDismissMode

Available on UIScrollView, provided by the UIScrollView$Methods extension

keyboardDismissMode
getter/setter pair
maximumZoomScale double

Available on UIScrollView, provided by the UIScrollView$Methods extension

maximumZoomScale
getter/setter pair
minimumZoomScale double

Available on UIScrollView, provided by the UIScrollView$Methods extension

minimumZoomScale
getter/setter pair
pagingEnabled bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

isPagingEnabled
getter/setter pair
panGestureRecognizer UIPanGestureRecognizer

Available on UIScrollView, provided by the UIScrollView$Methods extension

panGestureRecognizer
no setter
pinchGestureRecognizer UIPinchGestureRecognizer?

Available on UIScrollView, provided by the UIScrollView$Methods extension

pinchGestureRecognizer
no setter
refreshControl UIRefreshControl?

Available on UIScrollView, provided by the UIScrollView$Methods extension

refreshControl
getter/setter pair
scrollEnabled bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

isScrollEnabled
getter/setter pair
scrollIndicatorInsets UIEdgeInsets

Available on UIScrollView, provided by the UIScrollView$Methods extension

scrollIndicatorInsets
getter/setter pair
scrollsToTop bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

scrollsToTop
getter/setter pair
showsHorizontalScrollIndicator bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

showsHorizontalScrollIndicator
getter/setter pair
showsVerticalScrollIndicator bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

showsVerticalScrollIndicator
getter/setter pair
tracking bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

isTracking
no setter
verticalScrollIndicatorInsets UIEdgeInsets

Available on UIScrollView, provided by the UIScrollView$Methods extension

verticalScrollIndicatorInsets
getter/setter pair
visibleSize → CGSize

Available on UIScrollView, provided by the UIScrollView$Methods extension

The visible size of this scrollable container.
no setter
zoomBouncing bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

isZoomBouncing
no setter
zooming bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

isZooming
no setter
zoomScale double

Available on UIScrollView, provided by the UIScrollView$Methods extension

zoomScale
getter/setter pair

Methods

adjustedContentInsetDidChange() → void

Available on UIScrollView, provided by the UIScrollView$Methods extension

adjustedContentInsetDidChange
encodeWithCoder(NSCoder coder) → void

Available on UIScrollView, provided by the UIScrollView$Methods extension

encodeWithCoder:
flashScrollIndicators() → void

Available on UIScrollView, provided by the UIScrollView$Methods extension

flashScrollIndicators
focusItemsInRect(CGRect rect) → NSArray

Available on UIScrollView, provided by the UIScrollView$Methods extension

Returns an array of all focus items within this container that intersect with the provided rect. rect is expressed in coordinateSpace.
initWithCoder(NSCoder coder) UIScrollView?

Available on UIScrollView, provided by the UIScrollView$Methods extension

initWithCoder:
initWithFrame(CGRect frame) UIScrollView

Available on UIScrollView, provided by the UIScrollView$Methods extension

initWithFrame:
scrollRectToVisible(CGRect rect, {required bool animated}) → void

Available on UIScrollView, provided by the UIScrollView$Methods extension

scrollRectToVisible:animated:
setContentOffset(CGPoint contentOffset$1, {required bool animated}) → void

Available on UIScrollView, provided by the UIScrollView$Methods extension

setContentOffset:animated:
setZoomScale(double scale, {required bool animated}) → void

Available on UIScrollView, provided by the UIScrollView$Methods extension

setZoomScale:animated:
touchesShouldBegin(NSSet touches, {UIEvent? withEvent, required UIView inContentView}) bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

touchesShouldBegin:withEvent:inContentView:
touchesShouldCancelInContentView(UIView view) bool

Available on UIScrollView, provided by the UIScrollView$Methods extension

touchesShouldCancelInContentView:
zoomToRect(CGRect rect, {required bool animated}) → void

Available on UIScrollView, provided by the UIScrollView$Methods extension

zoomToRect:animated: