Re:9 years of Apple text editor solo dev
by interactivecode on Friday January 05, 2024 @12:42PM
(#38881983)
The great strength of SwiftUI is that until they have caught up with UIKit and AppKit you can just drop down to those frameworks. So you can use SwiftUI in 95% of your app and where you run into limitions you can use the lowerlevel NSCollectionView for example. Whats even cooler is that inside that NSCollectionView you can just use SwiftUI views again.
[ Parent
| on HN ]
That has some unique edge cases as we have been discovering when you interleave UIKit and SwiftUI together.
I kind of wish that SwiftUI was a clean break in some ways and did not depend on UIKit and avoid all the abstraction leak issues that have been arising as a result. I know that would never happen in practicality although.