CPCDayCellRenderingContext
public protocol CPCDayCellRenderingContext
A set of methods that provide contextual information for drawing a single day cell in a month view.
-
Graphical context that should be used for custom drawing.
Declaration
Swift
var graphicsContext: CGContext { get }
-
Day that is represented by the cell.
Declaration
Swift
var day: CPCDay { get }
-
State of the cell.
Declaration
Swift
var state: CPCDayCellState { get }
-
Background color.
Declaration
Swift
var backgroundColor: UIColor? { get }
-
Cell frame.
Declaration
Swift
var frame: CGRect { get }
-
Cell title.
Declaration
Swift
var title: NSString { get }
-
Cell title attributes.
Declaration
Swift
var titleAttributes: NSDictionary { get }
-
Cell title frame.
Declaration
Swift
var titleFrame: CGRect { get }