CPCCalendarViewController
open class CPCCalendarViewController : UIViewController
A view controller that manages a CPCCalendarView
instance as its root view and optionally displays
a supplementary view providing weekdays for the calendar view.
-
The object that acts as the selection delegate of this view controller.
Declaration
Swift
open weak var selectionDelegate: CPCCalendarViewControllerSelectionDelegate? { get set }
-
Undocumented
Declaration
Swift
open override var view: UIView! { get set }
-
The view that the controller manages.
Declaration
Swift
open var calendarView: CPCCalendarView { get }
-
Week view that is rendered as part of calendar view.
Declaration
Swift
open var weekView: CPCWeekView! { get set }
-
See
selection
.Declaration
Swift
@objc(selection) open var _objcBridgedSelection: __CPCViewSelection { get set }
-
Selected days associated with this view controller.
Declaration
Swift
open var selection: CPCViewSelection { get set }
-
The minimum date that a calendar view controller should present to user. Defaults to
nil
meaning no lower limit.Declaration
Swift
open var minimumDate: Date? { get set }
-
The maximum date that a calendar view controller should present to user. Defaults to
nil
meaning no upper limit.Declaration
Swift
open var maximumDate: Date? { get set }
-
The number of columns to display in a calendar view.
Declaration
Swift
@IBInspectable open dynamic var columnCount: Int { get set }
-
Insets or outsets that are applied to each calendar column.
Declaration
Swift
@IBInspectable open dynamic var columnContentInset: UIEdgeInsets { get set }
-
Undocumented
Declaration
Swift
public override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?)
-
Undocumented
Declaration
Swift
public required init?(coder aDecoder: NSCoder)
-
Undocumented
Declaration
Swift
open override func loadView()
-
Undocumented
Declaration
Swift
open override func viewWillLayoutSubviews()
-
Undocumented
Declaration
Swift
open override func didMove(toParent parent: UIViewController?)
-
Undocumented
Declaration
Swift
open override func viewSafeAreaInsetsDidChange()
-
Tells the view controller that selected days were changed in response to user actions.
Default implementation does nothing. Subclasses can override it to perform additional actions whenever selection changes.
Declaration
Swift
@objc open func selectionDidChange()