Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Adopt Calendar write-only permission in macOS Sonoma#700

Merged
insidegui merged 1 commit into
masterfrom
rambo/calendar-write-only
Jun 16, 2023
Merged

Adopt Calendar write-only permission in macOS Sonoma#700
insidegui merged 1 commit into
masterfrom
rambo/calendar-write-only

Conversation

@insidegui

Copy link
Copy Markdown
Owner

Since all we do is write to the calendar, we don't need full access.

There's a compile-time check so that the app keeps building just fine in Xcode 14. I wanted something like #if __MAC_OS_X_VERSION_MAX_ALLOWED in Swift, but apparently the only way to do a compile-time check for SDK is by using the #compiler directive. If you know of a better solution let me know.

CleanShot 2023-06-10 at 10 30 09@2x

@insidegui insidegui requested a review from allenhumphreys June 10, 2023 13:37
}
}

// MARK: - Calendar Integration

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Separate file? We have lots of AppCoordinator+'s already :)

@insidegui insidegui merged commit dfd9ad8 into master Jun 16, 2023
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

Successfully merging this pull request may close these issues.

2 participants