Declaration

func setPosition(_ position: CGFloat, ofDividerAt dividerIndex: Int, animated: Bool)

Declaration

- (void) setPosition:(CGFloat) position ofDividerAtIndex:(NSInteger) dividerIndex animated:(BOOL) animated;

Declaration

setPosition_ofDividerAtIndex_animated_(position: float, dividerIndex: int, animated: bool)

Parameters

position

The new position of the divider.

dividerIndex

The index of the divider to position.

animated

Whether the positioning should be animated.

Discussion

This method will use the split view’s animator proxy to animate by calling -setPosition:ofDividerAtIndex:.