For Safari Windows they ported a portion of Cocoa.
Having an internal Windows version of SwiftUI would not be unthinkable!