Seems like all the `backgroundColor:NSColor` variables can be replaced with `SwiftUI.Color` and then at the end a cross platform alias ``` #if os(macOS) import AppKit typealias UXTextView = NSTextView typealias UXTextViewDelegate = NSTextViewDelegate typealias UColor = NSColor #else import UIKit typealias UXTextView = UITextView typealias UXTextViewDelegate = UITextViewDelegate typealias UColor = UIColor #endif ```
Activity
36: ios compile fixes, switching NSColor for background colour to Swi…
SoylentGraham commentedon Nov 19, 2024
Note to self, use
#if canImport(UIKit)notos()