Swift Charts in ObjC project using bridging headers?

Is it possible to use Swift Charts in my ObjC project using bridging headers? The documentation names its Swift Charts but its seems they can only be used in SwiftUI projects.

Answered by ace.neerav in 765346022

As @Tomato mentioned, I'll be using** UIHostingController fo**r good!

I don't have a definite answer, but I don't see why you cannnot. I have tried reading a SwiftUI file that comes with Swift Charts, using UIHostingController. That's been successful. So try that if you like.

Accepted Answer

As @Tomato mentioned, I'll be using** UIHostingController fo**r good!

Swift Charts in ObjC project using bridging headers?
 
 
Q