Instance Property


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


var clearsSelectionOnViewWillAppear: Bool { get set }


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.