MultiOptionSelector
public final class MultiOptionSelector<OptionType> : ConstrainedOptionSelector where OptionType : Equatable
Undocumented
-
Undocumented
Declaration
Swift
public typealias SelectedType = [OptionType] -
Declaration
Swift
public private(set) var options: [OptionType] -
Undocumented
Declaration
Swift
public var selected: [OptionType] { get } -
Undocumented
Declaration
Swift
public private(set) var selectedIndices: Set<Int> { get set } -
Undocumented
Declaration
Swift
public var callback: (([OptionType]) -> Void)? -
Undocumented
Declaration
Swift
public init(_ options: [OptionType], selected: [OptionType] = [], callback: (([OptionType]) -> Void)? = nil) -
Declaration
Swift
public func select(index: Int) -
Declaration
Swift
public func select(option: OptionType) -
Declaration
Swift
public func deselect(index: Int) -
Declaration
Swift
public func deselect(option: OptionType) -
Declaration
Swift
public func isSelected(index: Int) -> Bool -
Declaration
Swift
public func isSelected(option: OptionType) -> Bool
MultiOptionSelector Class Reference