StaggerIndex
public enum StaggerIndex : String
Used to indicate for staggered orientations if even or odd indexs are staggered
-
Odd indexes are staggered
Declaration
Swift
case odd
-
Even indexes are staggered
Declaration
Swift
case even
-
Creates a new instance
Declaration
Swift
public init?(_ rawValue: String?)
Parameters
rawValue
The raw value,
nil
will always be the result ifnil
is supplied -
Undocumented
Declaration
Swift
public func appliesTo(_ index: Int) -> Bool