Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FB14538519: Add participation status to EKCalendarItem #540

Open
sindresorhus opened this issue Jul 29, 2024 · 0 comments
Open

FB14538519: Add participation status to EKCalendarItem #540

sindresorhus opened this issue Jul 29, 2024 · 0 comments

Comments

@sindresorhus
Copy link
Member

  • Date: 2024-07-29
  • Resolution: Open
  • Area: EventKit
  • OS: macOS 14.5
  • Type: Suggestion

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.

@feedback-assistant feedback-assistant deleted a comment from BHAV7023 Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant