PleaseHoldViewConfig
public class PleaseHoldViewConfig
Configuration for PleaseHoldView
-
Singleton access to
PleaseHoldViewConfig.Declaration
Swift
public static var shared: PleaseHoldViewConfig -
Initialize new instance of
PleaseHoldViewConfigDeclaration
Swift
public init() -
Customize the title
UILabelofPleaseHoldView. Called when adding a title toPleaseHoldViewinstances.Declaration
Swift
public var newTitleLabel: () -> UILabel -
The default title label for
PleaseHoldView.Declaration
Swift
public static var defaultTitleLabel: UILabel { get } -
Customize the message
UILabelofPleaseHoldViewConfig. Called when adding a message toPleaseHoldViewConfiginstances.Declaration
Swift
public var newMessageLabel: () -> UILabel -
The default message label for
PleaseHoldView.Declaration
Swift
public static var defaultMessageLabel: UILabel { get } -
Customize the message
UILabelofPleaseHoldViewConfig. Called when adding a message toPleaseHoldViewConfiginstances.Declaration
Swift
public var newActivityIndicator: () -> UIActivityIndicatorView -
Edit the
UIActivityIndicatorViewused as the activity indicator forPleaseHoldViewDeclaration
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
-
Convenient access to
DarkPleaseHoldViewConfigPreset.Declaration
Swift
static let darkPresent: PleaseHoldViewConfigPreset -
Convenient access to
LightPleaseHoldViewConfigPreset.Declaration
Swift
static let light: PleaseHoldViewConfigPreset
View on GitHub
PleaseHoldViewConfig Class Reference