isHidden
A Boolean value indicating whether the element is hidden.
Declaration
var isHidden: Bool { get set }Discussion
The default value of this property is false. As an optimization, the collection view might not create the corresponding view when the value of this property is true. Because there might not be a view, hidden elements do not participate in hit testing for the collection view.