CreationKit Documentation

Enumeration Scrolling​Mode

public enum ScrollingMode: Equatable  

Configures the behavior of the scrolling mode of the calendar

ScrollingMode ScrollingMode Equatable Equatable ScrollingMode->Equatable

Conforms To

Equatable

Enumeration Cases

stop​AtEach​Calendar​Frame

case stopAtEachCalendarFrame

stopAtEachCalendarFrame - non-continuous scrolling that will stop at each frame

stop​AtEach​Section

case stopAtEachSection

stopAtEachSection - non-continuous scrolling that will stop at each section

stop​AtEach

case stopAtEach(customInterval: CGFloat) 

stopAtEach - non-continuous scrolling that will stop at each custom interval

non​Stop​ToSection

case nonStopToSection(withResistance: CGFloat) 

nonStopToSection - continuous scrolling that will stop at a section

non​Stop​ToCell

case nonStopToCell(withResistance: CGFloat) 

nonStopToCell - continuous scrolling that will stop at a cell

non​Stop​To

case nonStopTo(customInterval: CGFloat, withResistance: CGFloat) 

nonStopTo - continuous scrolling that will stop at acustom interval, do not use 0 as custom interval

none

case none

none - continuous scrolling that will eventually stop at a point

Operators

==

public static func ==(lhs: ScrollingMode, rhs: ScrollingMode) -> Bool