PleaseHoldViewConfigPreset
public protocol PleaseHoldViewConfigPreset
Create a set of default views to conveniently set config for EmptyView
.
-
The title
UILabel
instance for the present.Declaration
Swift
var titleLabel: UILabel { get }
-
The message
UILabel
instance for the present.Declaration
Swift
var messageLabel: UILabel { get }
-
The
UIActivityIndicatorView
instance for the present.Declaration
Swift
var activityIndicator: UIActivityIndicatorView { get }
-
config
Extension methodGet a
EmptyViewConfig
instance that uses values fromEmptyViewConfigPreset
.Declaration
Swift
var config: PleaseHoldViewConfig { get }