Declarative UIKit for iOS apps
EXTENSION
DHDView
public extension DHDView
stringRepresentation
public var stringRepresentation: String
divider(_:)
static func divider(_ color: UIColor) -> DHDView
create a horizontal line of a specified color
Name | Description |
---|---|
color | UIColor |
spacer(vertical:)
@discardableResult static func spacer(vertical height: CGFloat) -> DHDView
create a spacer of a specific size
Name | Description |
---|---|
height | . |
spacer(horizontal:)
@discardableResult static func spacer(horizontal width: CGFloat) -> DHDView
create a spacer of a specific size
Name | Description |
---|---|
width | . |