feedback-assistant / reports

Open collection of Apple Feedback Assistant reports
226 stars 2 forks source link

FB14538519: Add participation status to EKCalendarItem #540

Open sindresorhus opened 2 months ago

sindresorhus commented 2 months ago

Description

Pretty much every calendar app needs to access this status so they can filter out declined events.

It’s possible to get it with EKCalendarItem#attendees?.first(where: \.isCurrentUser)?.participantStatus, but that’s quite slow and not very discoverable. It would be useful to be able to access it on EKCalendarItem#participantStatus.

There actually already is a private property on EKCalendarItem called participantStatus. So you could just expose that.