After spending an embarrassing amount of hours trying to get TextField to do what I needed on macOS I decided to try NSViewRepresentable + NSTextField. I was fully prepared to spend the night on this… Yet I got it done in 30m 😮 Lesson learned! Going forward, when a SwiftUI object is not mature enough …
Continue reading “Easily linking any AppKit or UIKit class with SwiftUI”