TKCalendarEventKitDataSourceDelegate Protocol Reference
Conforms to | NSObject |
Declared in | TKCalendarEventKitDataSource.h |
Overview
The methods declared by the TKCalendarEventKitDataSourceDelegate protocol allow customizing the process of importing events from EventKit.
Instance Methods
shouldImportEvent:
Determines whether the specified EKEvent should be imported.
- (BOOL)shouldImportEvent:(EKEvent *__nonnull)event
Parameters
- event
The event to import.
Return Value
Returns YES if the event should be imported.
Declared In
TKCalendarEventKitDataSource.h
shouldImportEventsFromCalendar:
Defines whether events from the specified EKCalendar should be imported.
- (BOOL)shouldImportEventsFromCalendar:(EKCalendar *__nonnull)calendar
Parameters
- calendar
The calendar to import.
Return Value
Returns YES if events should be imported.
Declared In
TKCalendarEventKitDataSource.h