Closed rrenna closed 2 years ago
I believe it's due to the logic dictated by: #if canImport(AppKit)
#if canImport(AppKit)
As Catalyst can import AppKit but only for limited use, ie. NSToolbar.
NSView, etc are unavailable.
Maybe just switch around the #if / #elseif order so Catalyst will trigger the canImport(UIKit) ?
canImport(UIKit)
Good call, I can do that tomorrow
fixed on main
I believe it's due to the logic dictated by:
#if canImport(AppKit)
As Catalyst can import AppKit but only for limited use, ie. NSToolbar.
NSView, etc are unavailable.