EmptyViewConfigPreset
public protocol EmptyViewConfigPreset
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
UIButton
instance for the present.Declaration
Swift
var button: UIButton { get }
-
config
Extension methodGet a
EmptyViewConfig
instance that uses values fromEmptyViewConfigPreset
.Declaration
Swift
var config: EmptyViewConfig { get }