Instance Property

installsStandardGestureForInteractiveMovement

A Boolean value indicating whether the collection view controller installs a standard gesture recognizer to drive the reordering process.

Declaration

var installsStandardGestureForInteractiveMovement: Bool { get set }

Discussion

The default value of this property is true. When true, the collection view controller installs a standard gesture recognizer (based on a long-press gesture) to manage the reordering of views inside the collection view. The collection view’s data source must declare its support for reordering items by implementing the appropriate methods. Setting this property to false prevents the installation of this gesture recognizer.

See Also

Configuring the Collection View Behavior

var clearsSelectionOnViewWillAppear: Bool

A Boolean value indicating if the controller clears the selection when the collection view appears.