EmptyViewConfig

public class EmptyViewConfig

Configuration for EmptyView

  • Singleton access to EmptyViewConfig.

    Declaration

    Swift

    public static var shared: EmptyViewConfig
  • Initialize new instance of EmptyViewConfig

    Declaration

    Swift

    public init()
  • Customize the title UILabel of EmptyView. Called when adding a title to EmptyView instances.

    Declaration

    Swift

    public var newTitleLabel: () -> UILabel
  • The default title label for EmptyView.

    Declaration

    Swift

    public static var defaultTitleLabel: UILabel { get }
  • Customize the message UILabel of EmptyView. Called when adding a message to EmptyView instances.

    Declaration

    Swift

    public var newMessageLabel: () -> UILabel
  • The default message label for EmptyView.

    Declaration

    Swift

    public static var defaultMessageLabel: UILabel { get }
  • Customize the UIButton of EmptyView. Called when adding a button to EmptyView instances.

    Declaration

    Swift

    public var newButton: () -> UIButton
  • The default button for EmptyView.

    Declaration

    Swift

    public static var defaultButton: UIButton { get }
  • Set the padding for the leading and trailing side of the contents of EmptyView.

    Declaration

    Swift

    public var viewPadding: CGFloat