FUISideBarListItem

A view for each list item in the FUISideBar

  • Title element for the list item.

    Declaration

    Swift

    @MainActor
    public private(set) var title: FUIMultiLineText { get }
  • Subtitle element for the list item.

    Declaration

    Swift

    @MainActor
    public private(set) var subtitle: FUIMultiLineText { get }
  • Leading image element for the list item.

    Declaration

    Swift

    @MainActor
    public private(set) var leadingImageView: FUIImageView { get }
  • Trailing image element for the list item.

    Declaration

    Swift

    @MainActor
    public private(set) var trailingImageView: FUIImageView { get }
  • Undocumented

    Declaration

    Swift

    @MainActor
    public var leadingFilledImageView: FUIImageView
  • Create an sidebar list item.

    Declaration

    Swift

    @MainActor
    public convenience init(icon: UIImage?, filledIcon: UIImage? = nil, title: String, subtitle: String?, accessoryIcon: UIImage?)

    Parameters

    icon

    The icon of the leading image view and is displayed when the item is not selected or in editing mode.

    filledIcon

    The icon of the leading filled image view and is displayed when the item is selected.

    title

    The title of the item.

    subtitle

    The subtitle of the item.

    accessoryIcon

    The icon set to trailing image view.

  • Declaration

    Swift

    @MainActor
    required public init()