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

Begin migration to use System.FilePath for implementation #2

Merged
merged 4 commits into from
Feb 26, 2024

Conversation

roanutil
Copy link
Member

The System framework on Apple platforms and SystemPackage on others offers the FilePath type that can replace most of if not all the custom and NSString based logic. This first PR makes minimal changes without knowingly changing any behavior.

The SystemPackage implementation of FilePath will add Sendable conformance in the next version but is not present yet. As such, @unchecked Sendable conformance has been added to FilePath for now.

FilePath is an iOS 14+ framework with parts of the API requiring iOS 15+. This package's platform requirements have been raised to match.

For the sake of completeness, visionOS has been added as a platform which requires Swift 5.9+. There's little downside to raising the package's minimum so it is now 5.9.

@r-jarvis r-jarvis merged commit fec0f80 into main Feb 26, 2024
3 checks passed
@roanutil roanutil deleted the feature/system-FilePath branch February 26, 2024 15:03
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