Currently, when visionOS is selected as a target, compile fails in UIFont+Init as no provision for visionOS is present. I suspect the package would need just a tweak to the code below, but I am a new developer and decided not to attempt a fix myself...
#if os(macOS)
import AppKit
public typealias NativeFont = NSFont
public typealias NativeFontDescriptor = NSFontDescriptor
#elseif os(iOS)
import UIKit
public typealias NativeFont = UIFont
public typealias NativeFontDescriptor = UIFontDescriptor
#endif
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Currently, when visionOS is selected as a target, compile fails in UIFont+Init as no provision for visionOS is present. I suspect the package would need just a tweak to the code below, but I am a new developer and decided not to attempt a fix myself...