BPKCardDivider
@interface BPKCardDivider : UIView
BPKCardDivider is a subclass of UIView which contains the Skyscanner card divider style.
-
The orientation of the card divider.
Declaration
Objective-C
@property (nonatomic) UILayoutConstraintAxis orientation;Swift
var orientation: NSLayoutConstraint.Axis { get set } -
Create a
BPKCardDividerwith orientation initially set.Declaration
Objective-C
- (nonnull instancetype)initWithOrientation:(UILayoutConstraintAxis)orientation;Swift
init(orientation: NSLayoutConstraint.Axis)Parameters
orientationWhether the divider is for a vertical or horizontal layout.
BPKCardDivider Class Reference