FUIBannerMultiMessageViewController

@MainActor
public class FUIBannerMultiMessageViewController : UIViewController, UITableViewDelegate, UITableViewDataSource

Show banner multi message view. Developer can filter the messages with category, clear one kind of category, or remove the item under the category. On iPhone, the multi message banner view is shown as a form sheet. On iPad, the multi message banner view is shown as a Pop Over.

  • The callback when the close button is clicked.

    Declaration

    Swift

    @MainActor
    public var closeAction: (() -> Void)?
  • Remove item action, First parameter is category, and the secondary is the item’s id. When the secondary is nil, the entire category was removed.

    Declaration

    Swift

    @MainActor
    public var removeAction: ((String, UUID?) -> Void)?
  • View the message detail callback, the parameter is message id, developer can use the id to scroll to the relative item

    Declaration

    Swift

    @MainActor
    public var viewDetailAction: ((UUID) -> Void)?
  • Turn on category section header or not

    Declaration

    Swift

    @MainActor
    public var turnOnSectionHeader: Bool
  • The datasource for banner multi message view

    Declaration

    Swift

    @MainActor
    public var bannerMultiMessages: [FUIBannerMessageListModel] { get set }
  • On iPhone, the multi message banner view is shown as a form sheet. On iPad, the multi message banner view is shown as a Pop Over.

    Declaration

    Swift

    @MainActor
    public func show(on vc: UIViewController?, sourceView: UIView?)

    Parameters

    vc

    to present the sheet or popover modally

    sourceView

    The view containing the anchor rectangle for the popover.

  • Undocumented

    Declaration

    Swift

    @MainActor
    public override func viewDidLayoutSubviews()
  • Undocumented

    Declaration

    Swift

    @MainActor
    public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell