Hacker News new | ask | show | jobs
by MoritzWall 2021 days ago
A beautiful piece of IOS app engineering! How did you make the UIPageViewController in SwiftUI at the beginning of the app? I also tried to use it but have not yet found a way to bridge the UIKit with SwiftUI.
1 comments

we tried really hard to bridge the UIKit one, but had some bugs & crashes due to the PageController (the dots underneath). I think it is caused by the fact that a same SwiftUI @State is used by 2 UIKit "bridged" controllers, and is not operated in a thread safe way. So we ended up building it from scratch ourselves, in SwiftUI :)