Skip to content

Conversation

@kirkbig
Copy link
Contributor

@kirkbig kirkbig commented Dec 29, 2023

by placing #if canImport(UIKit) first, it means that building for #if targetEnvironment(macCatalyst) doesn't fail attempting to use and link in AppKit things (since macCatalyst apps can link both UIKit and AppKit

by placing `#if canImport(UIKit)` first, it means that building for
`#if targetEnvironment(macCatalyst)` doesn't fail attempting to use
and link in `AppKit` things (since `macCatalyst` apps can link both
`UIKit` and `AppKit`
Copy link
Owner

@gonzalezreal gonzalezreal left a comment

Choose a reason for hiding this comment

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

Good catch. Thank you!

@gonzalezreal gonzalezreal merged commit 8f6affc into gonzalezreal:main Dec 31, 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