AndreaMiotto / PartialSheet

A SwiftUI Partial Sheet fully customizable with dynamic height

Home Page:https://github.com/AndreaMiotto/PartialSheet/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mixed UIKit & SwiftUI?

JetForMe opened this issue · comments

Does this work in a mixed environment? We have UIKit at the root of our hierarchy, and some views within are SwiftUI. I don't have a SwiftUI SceneDelegate. Will this still work, so long as I add the manager to the environment?

Yeh you can use this with a UIKit based app. In my App I create the PartialSheetManager in my AppDelegate and pass it through the environment

Can I create multiple PartialSheetManagers (e.g. one for each main tab of my app)?

commented

Yes you can