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
ofPleaseHoldView
. Called when adding a title toPleaseHoldView
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
ofPleaseHoldViewConfig
. Called when adding a message toPleaseHoldViewConfig
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
ofPleaseHoldViewConfig
. Called when adding a message toPleaseHoldViewConfig
instances.Declaration
Swift
public var newActivityIndicator: () -> UIActivityIndicatorView
-
Edit the
UIActivityIndicatorView
used as the activity indicator forPleaseHoldView
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
-
Convenient access to
DarkPleaseHoldViewConfigPreset
.Declaration
Swift
static let darkPresent: PleaseHoldViewConfigPreset
-
Convenient access to
LightPleaseHoldViewConfigPreset
.Declaration
Swift
static let light: PleaseHoldViewConfigPreset