EventKit without using Calendar or Reminders

I am curious if there is a way to use EventKit features - create events, repeat rules, etc. - without actually interacting with Calendar and Reminders?

A little detailed information about the requirements, etc.

  • A user launches my application and creates a new event-style entry there.
  • The event style element does not appear in the reminder or calendar application
  • My application can still access the event style record and related parameters.

Note. It may be / will be the preferred option to make the created event style entries visible in the reminder / calendar application.

Basically, in order to be able to use or not use reminder / calendar applications, I don’t want to write two versions of the code - one using my own implementation of EventKit-esque, and the other using the real EventKit framework APIs.

+4
source share
1 answer

Nope-EventKit is designed to work with existing calendar stores that Calendar and Reminders have access to. If you want to create events that they don’t know about, you need to flip your own calendar store. You can, of course, model it after EventKit for relative ease of switching between them, but you need to override any parts of the API functionality that you plan to use.

+3
source

All Articles