Instance Property

clearsSelectionOnViewWillAppear

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

Declaration

var clearsSelectionOnViewWillAppear: Bool { get set }

Discussion

The default value of this property is true. When true, the collection view controller clears the collection view’s current selection when it receives a viewWillAppear(_:) message. Setting this property to false preserves the selection.

See Also

Configuring the Collection View Behavior

var installsStandardGestureForInteractiveMovement: Bool

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