It is some time since I first needed to save event to user's calendar in iOS and realized that while iOS offers pretty good frameworks
EventKitUI there are not a lot of resources, tutorials or example code available online. Especially for modern versions of iOS and Swift.
I have recently written shorter post focused on parts of
EvenKitUI (links at the bottom of this post) and now I am building open source example app. 🙂
📅 The current version lists events for the next week, allows to select calendars to display events from, has option to create new events, edit existing ones and delete events with swipe gesture.
Working with calendar is far for just building custom calendar apps. You can give user super simple way to save event from your app, or maybe display today's events in their to-do list like Things 3 does.
Check out the example app on GitHub!
Thanks for reading. Here are the previous tutorials.