WidgetKit With RSS feed

My app has a section that displays news from an RSS feed I maintain. This is all done with Obj-C, and I'd prefer not have to rewrite code that is working perfectly fine. However, I know that WidgetKit uses SwiftUI. So, is it possible to simply pass the NSObject that contains the parsed RSS data into the SwiftUI view for the widget, and have it do default refresh on timeline, plus refresh when a push notification comes in?

Replies

I'd assume that you can add a Widget to your project even if the project is written in. Obj-C. As long as you use SwiftUI for the actual Widget and can share resources from the RSS Obj-c feed, then you shouldn't have a problem.