From e0130840eb81e7b2d9294f2ac4752079aea2e715 Mon Sep 17 00:00:00 2001 From: Wenchao Ding Date: Mon, 16 Feb 2015 17:32:26 +0800 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 25d0324..7fec949 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,15 @@ To run the example project, clone the repo, and run `pod install` from the Examp _calendar.dataSource = self; _calendar.delegate = self; +#### FSCalendarDataSource +- (NSString *)calendar:(FSCalendar *)calendar subtitleForDay:(NSDate *)date; // set subtitle +- (BOOL)calendar:(FSCalendar *)calendar hasEventForDate:(NSDate *)date; // set event dot + +#### FSCalendarDelegate +- (BOOL)calendar:(FSCalendar *)calendar shouldSelectDate:(NSDate *)date; +- (BOOL)calendar:(FSCalendar *)calendar didSelectDate:(NSDate *)date; +- (void)calendarCurrentMonthDidChange:(FSCalendar *)calendar; + ### 2. Page Direction Supported _calendar.flow = FSCalendarFlowVertical; //Change to vertical flow, default is FSCalendarFlowHorizontal