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

Remove support for macOS #30

Merged
merged 1 commit into from
Jun 25, 2019
Merged

Remove support for macOS #30

merged 1 commit into from
Jun 25, 2019

Conversation

unnamedd
Copy link
Contributor

As soon the initializer Image(systemName:) doesn't have support to macOS yet, in my point of view, doesn't make sense to support the platform yet.

Checking SwiftUI headers, specifically for the init method mentioned above, macOS/OSX is currently unavailable, for this reason I'm creating this pull request.

Here the snippet of code extracted from SwiftUI headers:

@available(iOS 13.0, tvOS 13.0, watchOS 6.0, *)
@available(OSX, unavailable)
extension Image {

    @available(OSX, unavailable)
    public init(systemName: String)
}

@unnamedd unnamedd changed the title Remove support to macOS Remove support for macOS Jun 25, 2019
@fredpi
Copy link
Member

fredpi commented Jun 25, 2019

Thanks @unnamedd for noticing and fixing this! 👍

@fredpi fredpi merged commit ac94d2e into SFSafeSymbols:stable Jun 25, 2019
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