EmptyViewConfig
public class EmptyViewConfig
Configuration for EmptyView
-
Singleton access to
EmptyViewConfig
.Declaration
Swift
public static var shared: EmptyViewConfig
-
Initialize new instance of
EmptyViewConfig
Declaration
Swift
public init()
-
The default title label for
EmptyView
.Declaration
Swift
public static var defaultTitleLabel: UILabel { get }
-
The default message label for
EmptyView
.Declaration
Swift
public static var defaultMessageLabel: UILabel { get }
-
The default button for
EmptyView
.Declaration
Swift
public static var defaultButton: UIButton { get }
-
Set the padding for the leading and trailing side of the contents of
EmptyView
.Declaration
Swift
public var viewPadding: CGFloat
-
Convenient access to
DarkEmptyViewConfig
.Declaration
Swift
static let darkPresent: EmptyViewConfigPreset
-
Convenient access to
LightEmptyViewConfig
.Declaration
Swift
static let light: EmptyViewConfigPreset