News for hackers. Stuff that matters.
Re:Show HN: Train your leadership skills in 2 min a day [iOS... by MoritzWall on Monday November 30, 2020 @08:19AM (#25253398)
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.
Re:Show HN: Train your leadership skills in 2 min a day [iOS... by superzadeh on Monday November 30, 2020 @08:23AM (#25253430)
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 :)