PleaseHoldViewConfig

public class PleaseHoldViewConfig

Configuration for PleaseHoldView

  • Singleton access to PleaseHoldViewConfig.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public var newActivityIndicator: () -> UIActivityIndicatorView
  • Edit the UIActivityIndicatorView used as the activity indicator for PleaseHoldView

    Declaration

    Swift

    public static var defaultActivityIndicator: UIActivityIndicatorView { get }
  • Set the padding for the leading and trailing side of the contents of PleaseHoldView.

    Declaration

    Swift

    public var viewPadding: CGFloat