CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| 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 = selfoptional 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) -> Booloptional func calendarView(calenderView: YFCalendarView, willPresentTheMonth theMonth: YFMonthView) -> Voidoptional func calendarView(calenderView: YFCalendarView, didPresentTheMonth theMonth: YFMonthView) -> Voidoptional func calendarView(calenderView: YFCalendarView, didSelectADay selectedDay: YFDayView) -> Voidoptional func calendarView(calenderView: YFCalendarView, didDeselectADay deselectedDay: YFDayView) -> Voidoptional 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) -> Booloptional func calendarViewSetDateSelectionMode(calenderView: YFCalendarView) -> SelectionModeoptional func calendarViewSetScrollDirection(calenderView: YFCalendarView) -> CalendarScrollDirectionoptional func calendarViewTurnOnSelectionAnimation(calenderView: YFCalendarView) -> Booloptional func calendarViewAutoScrollToTheNewMonthWhenTabTheDateOutsideOfTheCurrentMonth(calenderView: YFCalendarView) -> Booloptional func calendarViewShowDateOutsideOfTheCurrentMonth(calenderView: YFCalendarView) -> Booloptional func calendarViewAutoSelectToday(calenderView: YFCalendarView) -> Booloptional func calendarViewSetSelectionCircleRadius(calenderView: YFCalendarView) -> CGFloatoptional func calendarViewSetSelectionCircleBorderWidth(calenderView: YFCalendarView) -> CGFloatoptional func calendarViewSetDotMarkRadius(calenderView: YFCalendarView) -> CGFloatoptional func calendarViewSetDotMarkOffsetFromDateCenter(calenderView: YFCalendarView) -> CGFloatoptional func calendarViewSetDistanceBetweenDots(calenderView: YFCalendarView) -> CGFloatoptional func calendarViewSetDotMarkSelectedColor(calenderView: YFCalendarView) -> UIColor?optional func calendarViewSetTopLineColor(calenderView: YFCalendarView) -> UIColor?optional func calendarViewSetTopLineThickness(calenderView: YFCalendarView) -> CGFloatoptional func calendarViewShowTopLine(calenderView: YFCalendarView) -> Boolpushian, [email protected]
YFCalendar is available under the MIT license. See the LICENSE file for more info.