friction
The linear resistance for the behavior’s dynamic items when two slide against each other.
Declaration
var friction: CGFloat { get set }Discussion
Default value is 0.0, which corresponds to no friction. Use a value of 1.0 to apply strong friction. To apply an even stronger friction, you can use higher numbers.