BPKCalendarPriceLabelStyle
@interface BPKCalendarPriceLabelStyle : NSObject
BPKCalendarPriceLabelCellData contains the properties required to customise a calendar cell under a traffic-light
system to colour cells according to data.
-
Creates a
BPKCalendarPriceLabelStylewith the specific values.Declaration
Objective-C
- (nonnull instancetype)initWithTextColor:(nonnull UIColor *)textColor bold:(BOOL)bold;Swift
init!(textColor: Any!, bold: Any!)Parameters
textColorThe text color to apply.
boldWhether the font should be bold or not.
Return Value
BPKCalendarPriceLabelStyleinstance. -
The foreground colour to use on the cell’s price label.
Declaration
Objective-C
@property (nonatomic, readonly) UIColor *_Nonnull textColor;Swift
var textColor: UnsafeMutablePointer<Int32>! { get } -
Whether the price should be emphasized or not.
Declaration
Objective-C
@property (nonatomic, readonly, getter=isBold) BOOL bold;Swift
var bold: Int32 { get } -
The label style for negative calendar cell price labels.
Declaration
Objective-C
@property (class, readonly) BPKCalendarPriceLabelStyle *_Nonnull negative;Swift
class var negative: BPKCalendarPriceLabelStyle! { get } -
The label style for calendar cells with no data.
Declaration
Objective-C
@property (class, readonly) BPKCalendarPriceLabelStyle *_Nonnull noData;Swift
class var noData: BPKCalendarPriceLabelStyle! { get } -
The label style for positive calendar cell price labels.
Declaration
Objective-C
@property (class, readonly) BPKCalendarPriceLabelStyle *_Nonnull positive;Swift
class var positive: BPKCalendarPriceLabelStyle! { get }
BPKCalendarPriceLabelStyle Class Reference