TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Aug 2016 |
SPMSupports SPM | ✗ |
Maintained by yangfan.
To run the example project, clone the repo, and run pod install
from the Example directory first.
YFCalendar is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "YFCalendar"
var calendarView = YFCalendarView()
calendarView.calendarViewDelegate = self
optional func calendarView(calenderView: YFCalendarView, setGeneralColor dateType: DateType, dateState: DateState) -> UIColor?
optional func calendarView(calenderView: YFCalendarView, SetGeneralFont dateType: DateType, dateState: DateState) -> UIFont?
optional func calendarView(calenderView: YFCalendarView, SetSelectionCircleBorderColor dateType: DateType) -> UIColor?
optional func calendarView(calenderView: YFCalendarView, SetSelectionCircleFillColor dateType: DateType) -> UIColor?
optional func calendarView(calenderView: YFCalendarView, autoSelectTheFirstDateOfTheNewMonth mode: SelectionMode) -> Bool
optional func calendarView(calenderView: YFCalendarView, willPresentTheMonth theMonth: YFMonthView) -> Void
optional func calendarView(calenderView: YFCalendarView, didPresentTheMonth theMonth: YFMonthView) -> Void
optional func calendarView(calenderView: YFCalendarView, didSelectADay selectedDay: YFDayView) -> Void
optional func calendarView(calenderView: YFCalendarView, didDeselectADay deselectedDay: YFDayView) -> Void
optional func calendarView(calenderView: YFCalendarView, customizeColorForTheDay theDay: YFDayView, dateState: DateState) -> UIColor?
optional func calendarView(calenderView: YFCalendarView, customizeFontForTheDay theDay: YFDayView, dateState: DateState) -> UIFont?
optional func calendarView(calenderView: YFCalendarView, customizeSelectionCircleBorderColorForTheDay theDay: YFDayView) -> UIColor?
optional func calendarView(calenderView: YFCalendarView, customizeSelectionCircleFillColorForTheDay theDay: YFDayView) -> UIColor?
optional func calendarView(calenderView: YFCalendarView, customizeContentViewForTheDay theDay: YFDayView, dateState: DateState) -> UIView?
optional func calendarView(calenderView: YFCalendarView, initializeDotsForTheDay theDay: YFDayView) -> [UIColor]?
optional func calendarView(calenderView: YFCalendarView, disableUserInteractionForTheDay theDay: YFDayView) -> Bool
optional func calendarViewSetDateSelectionMode(calenderView: YFCalendarView) -> SelectionMode
optional func calendarViewSetScrollDirection(calenderView: YFCalendarView) -> CalendarScrollDirection
optional func calendarViewTurnOnSelectionAnimation(calenderView: YFCalendarView) -> Bool
optional func calendarViewAutoScrollToTheNewMonthWhenTabTheDateOutsideOfTheCurrentMonth(calenderView: YFCalendarView) -> Bool
optional func calendarViewShowDateOutsideOfTheCurrentMonth(calenderView: YFCalendarView) -> Bool
optional func calendarViewAutoSelectToday(calenderView: YFCalendarView) -> Bool
optional func calendarViewSetSelectionCircleRadius(calenderView: YFCalendarView) -> CGFloat
optional func calendarViewSetSelectionCircleBorderWidth(calenderView: YFCalendarView) -> CGFloat
optional func calendarViewSetDotMarkRadius(calenderView: YFCalendarView) -> CGFloat
optional func calendarViewSetDotMarkOffsetFromDateCenter(calenderView: YFCalendarView) -> CGFloat
optional func calendarViewSetDistanceBetweenDots(calenderView: YFCalendarView) -> CGFloat
optional func calendarViewSetDotMarkSelectedColor(calenderView: YFCalendarView) -> UIColor?
optional func calendarViewSetTopLineColor(calenderView: YFCalendarView) -> UIColor?
optional func calendarViewSetTopLineThickness(calenderView: YFCalendarView) -> CGFloat
optional func calendarViewShowTopLine(calenderView: YFCalendarView) -> Bool
pushian, [email protected]
YFCalendar is available under the MIT license. See the LICENSE file for more info.