Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Remove dependency to UIKit. #37

Merged
merged 1 commit into from
Aug 25, 2021
Merged

Conversation

choule99
Copy link
Contributor

No description provided.

@ArtSabintsev
Copy link
Owner

Thanks for the contribution. Have you confirmed this works on iOS, tvOS, and macOS?

@chouleappcom
Copy link
Contributor

Yes. The code works on all platform.

In fact, with the import, the code would not compile for macOS (unless targetEnvironnment(macCatalyst))

The reason why I am pushing for removal of this particular import is due to the Xcode previews in SwiftUI, which for some reason wants to compile all dependencies in the workspace, even when the FontBlaster is not a dependency of the macos target.

This is a bug in Xcode, but the fix of removing the import seems like a good compromise until Apple can fix it.

@ArtSabintsev
Copy link
Owner

Alright, looks good. Tested it myself.

@ArtSabintsev
Copy link
Owner

Thank you!

@ArtSabintsev ArtSabintsev merged commit 21993cf into ArtSabintsev:master Aug 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants