BPKCalendarConfiguration
@interface BPKCalendarConfiguration : NSObject
BPKCalendarConfiguration is a subclass of NSObject containing properties which the calendar will use when
rendering.
-
The class that will be used for individual cells.
Declaration
Objective-C
@property (readonly, nonnull) Class cellClass;Swift
var cellClass: AnyClass { get } -
The class that will be used to represent additional cell-data.
Declaration
Objective-C
@property (readonly, nonnull) Class cellDataClass;Swift
var cellDataClass: AnyClass { get } -
The height that cells should be rendered. When rowHeight isn’t specified the calendar uses a default row height for each cell.
Declaration
Objective-C
@property (readonly, nullable) NSNumber *rowHeight;Swift
var rowHeight: UnsafeMutablePointer<Int32>? { get } -
Creates a
BPKCalendarConfigurationwith the specific classes.Declaration
Objective-C
- (nonnull instancetype)initWithCellClass:(nonnull Class)cellClass cellDataClass:(nonnull Class)cellDataClass rowHeight:(CGFloat)rowHeight;Swift
init!(cellClass: AnyClass!, cellDataClass: AnyClass!, rowHeight: Any!)Parameters
cellClassClass to use for individual cells.
cellDataClassClass used to represent additional cell-data.
rowHeightSpecify height that calendar rows should be rendered. A sensible default rowHeight will be used if none is specified.
Return Value
BPKCalendarConfigurationinstance. -
Creates a
BPKCalendarConfigurationwith the specific classes.Declaration
Objective-C
- (nonnull instancetype)initWithCellClass:(nonnull Class)cellClass cellDataClass:(nonnull Class)cellDataClass;Swift
init!(cellClass: AnyClass!, cellDataClass: AnyClass!)Parameters
cellClassClass to use for individual cells.
cellDataClassClass used to represent additional cell-data.
Return Value
BPKCalendarConfigurationinstance.
BPKCalendarConfiguration Class Reference