SKCheckbox

open class SKCheckbox : UIControl

An image based checkbox.

  • An closure that allows the user to add a condition to whether or not the checkbox value should change. If it returns true, the tracking continues, the checkbox switches state. If it returns false, the value of the checkbox does not change.

    Declaration

    Swift

    public var valueShouldChange: ((SKCheckbox, Bool) -> (Bool))?
  • An interaction that is called right before the checkbox switches state. Use it to execute any pre change operations.

    Declaration

    Swift

    public var valueWillChange: ((SKCheckbox, Bool) -> Void)?
  • An interaction that is called right after the checkbox switches state. Use it to execute any post change operations.

    Declaration

    Swift

    public var valueDidChange: ((SKCheckbox, Bool) -> Void)?