EnterpriseDS Documentation

Class DSDivider

@IBDesignable public final class DSDivider: UIView  

An Enterprise-styled content horizontal divider for use outside of UITableView contexts.

There are no properties to set.

For storyboards, add a UIView to your view and change the class name to DSDivider.

A top and bottom margin is built into the component and cannot be altered or removed. However, the divider stretches horizontally to its full width.

Initialize as follows:

let divider = DSDivider()
DSDivider DSDivider UIView UIView DSDivider->UIView

Conforms To

UIView

Properties

intrinsic​Content​Size

public override var intrinsicContentSize: CGSize  

Methods

prepare​For​Interface​Builder()

public override func prepareForInterfaceBuilder()