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.
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 onEKCalendarItem#participantStatus
.There actually already is a private property on EKCalendarItem called
participantStatus
. So you could just expose that.