FUISideBarItemModel
public protocol FUISideBarItemModel : Hashable, Identifiable
SideBar Item data model which inherit from Identifiable and Hashable. It can be used by FUISideBar<Data>
-
A unique identifier UUID for side bar item.
Declaration
Swift
var id: UUID { get } -
A
Stringrepresenting the title of the side bar itemDeclaration
Swift
var title: String { get } -
An optional
UIImagethat represents the icon of the side bar item and will displayed when the item was NOT selected or in editing mode.Declaration
Swift
var icon: UIImage? { get } -
An optional
Imagethat represents the icon of the side bar item and will displayed when the item was selected.Declaration
Swift
var filledIcon: UIImage? { get } -
An optional
Stringrepresenting the subtitle of the side bar item.Declaration
Swift
var subtitle: String? { get } -
An optional
UIImagethat represents an accessory icon for the side bar item.Declaration
Swift
var status: UIImage? { get } -
A
Boolindicating whether the side bar item is invisible when the SideBar was in view mode.Declaration
Swift
var isInvisible: Bool { get set } -
An optional array of
FUISideBarItemModelinstances representing the children items of the side bar item.Declaration
Swift
var children: [any FUISideBarItemModel]? { get set }