Description
What is the problem or limitation you are having?
Rubicon ObjC is great for accessing Objective C classes. Objective C code (AIUI, anything subclassing NSObject) is also transparently visible to the Swift runtime.
However, Apple is clearly making a transition to Swift in preference to Objective C. UIKit (on iOS) and AppKit on (macOS) both started as Objective C, and so all the major classes (even newly added ones) seem to retain Objective C access; and all documentation for those classes has both Swift and Objective C flavours.
Newer frameworks, such as SwiftUI (a replacement for UIKit and AppKit, and required for use on watchOS), and MusicKit (used to access Apple Music), appear to be published as "Swift Only", with no Objective C examples.
Describe the solution you'd like
This may not even be possible - or it may require a "Rubicon Swift" project to provide an alternate path into the Swift runtime.
If it is possible, Rubicon ObjC needs documentation for how it can be acheived, and/or any assistive tools (such as an analog of ObjCClass
?) that are needed.
If it isn't possible, the limitation should still be documented.
Describe alternatives you've considered
There really isn't one. Swift is becoming an essential part of the Apple ecosystem; we need a solution for this.
Additional context
No response