Asks the data source for an event view to use for a particular event in the calendar.
- (SCalendarEventView *)shinobiCalendar:(ShinobiCalendar *)calendar eventViewForEvent:(SCalendarEvent *)event
A Calendar object requesting the view.
The event that the view should represent.
An object inheriting from SCalendarWeekEventView that the calendar can use for the specified event. An assertion is raised if you return nil.
Implement this method and provide an array of SCalendarEvent objects for each day to display events on that day.
- (NSArray<SCalendarEvent*> *)shinobiCalendar:(ShinobiCalendar *)calendar eventsForDate:(NSDate *)date
The calendar that the events will be displayed on.
The date that the events will be displayed on.
An array of SCalendarEvent objects.