FUIFilterItem
public class FUIFilterItem : Equatable
A FUIFilterItem
represent one “Filter” item to be
displayed on the FUIFilterFeedbackControl
view.
-
The title of this filter feedback item
Declaration
Swift
public var title: String
-
Is this a “favorite” filter feedback item? A “favorite” filter feedback item will always be displayed while a “non-favorite” item will not be displayed if not selected. The default value is true.
Declaration
Swift
public var isFavorite: Bool
-
Is this item active or not. Default is false.
Declaration
Swift
public var isActive: Bool
-
A developer assigned key to identify the item.
Declaration
Swift
public var key: String?
-
Initialize this instance with a title. All other properties use default values.
Declaration
Swift
public init(_ title: String)
-
Initialize this instance with all its properties.
Declaration
Swift
public convenience init(_ title: String, isFavorite: Bool, isActive: Bool)
-
Check if the two
FUIFilterItem
is equal or not.Declaration
Swift
public static func == (lhs: FUIFilterItem, rhs: FUIFilterItem) -> Bool