During development I kept deleting and reinstalling the app. This caused a problem. @keepdates.app relies on its own calendar it kept creating a new one on each install and had no idea that a previous calendar was already created by it. π€ (1/3) #buildInPublic #swift #swiftUI #ios #iosDev #app
Post
I mean, that was intentional - I didn't want it to just pick any calendar with the "correct" name. The likelihood of a user making a calendar with that name was low, but I didn't want to risk it. π¬ I needed a way to "fingerprint" the correct calendar, so that it could be found again. π (2/3)
0 reposts2 likes
And the most "elegant" way I found of doing that, was to have the app create a special event in the calendar, very far into the future. If that exists, that's the calendar it picks. π You can download the app here: https://apps.apple.com/us/app/keepdates-contact-dates/id6761375469 (3/3)