Skip to content

CVCalendarViewDelegate

neugartf edited this page Nov 8, 2015 · 7 revisions

CVCalendarViewDelegate

Provides methods for getting user input for customizing fundamental properties of CVCalendarView.

Method Parameters Return Value Specification
shouldScrollOnOutDayViewSelection: Void Bool Determines whether the selection of a day from another month/week should scroll to the new view.
shouldAutoSelectDayOnWeekChange: Void Bool Determines whether a day view should be automatically selected when a new week view is loaded.
shouldAutoSelectDayOnMonthChange: Void Bool Determines whether a day view should be automatically selected when a new month view is loaded.
shouldShowWeekdaysOut Void Bool Determines whether a month view should contain days out or not. If the value is true then it's possible to toggle between month views on selecting day out.
didSelectDayView: CVCalendarDayView, Bool Void Notifies the delegate when a specific day view is touched.
presentedDateUpdated: CVDate Void Notifies the delegate when the presented date is updated so you can update CurrentMonth label.
topMarker: shouldDisplayOnDayView CVCalendarDayView Bool Determines if a specific Day View should contain a topMarker.
dotMarker:shouldShowOnDayView CVCalendarDayView Bool Determines whether a specific day view should be marked with dot marker or not.
dotMarker:colorOnDayView CVCalendarDayView UIColor Determines a color for dot marker for a specific day view.
dotMarker:shouldMoveOnHighlightingOnDayView CVCalendarDayView Bool Determines if a dotMarker should move on its Day View highlighting.
dotMarker:sizeOnDayView CVCalendarDayView CGFloat Determines a size for the dotMarker
Clone this wiki locally