I like SwiftUI overall and my minimum OS is now iOS 14 / iPadOS 14. Thus, I can use all of what SwiftUI currently has to offer.
However, I'm finding some missing pieces that are beginning to pile up. e.g. flashing the scroll indicators is not happening automatically, and I see no way to do so with any scrollable content (e.g. list). No way to specify the size of sheets (e.g. formSheet). And other issues.
Thus, before I invest too much time with SwiftUI rewrites, have others been successful with SwiftUI (say for small to medium sized apps)? Or are you sticking with UIKit, AppKit for now?
Are you finding similar missing items? Are those trivial though in your eyes, and you chose to just press forward with SwiftUI?
However, I'm finding some missing pieces that are beginning to pile up. e.g. flashing the scroll indicators is not happening automatically, and I see no way to do so with any scrollable content (e.g. list). No way to specify the size of sheets (e.g. formSheet). And other issues.
Thus, before I invest too much time with SwiftUI rewrites, have others been successful with SwiftUI (say for small to medium sized apps)? Or are you sticking with UIKit, AppKit for now?
Are you finding similar missing items? Are those trivial though in your eyes, and you chose to just press forward with SwiftUI?
i would strongly caution against proceeding full-on with SwiftUI, it is just plain broken in a lot of places. The list of things that don't work in SwiftUI seem to grow the more you use it.
For instance, SwiftUI does not offer a pull to refresh feature (a deal breaker for me). SwiftUI provides no way of customizing the return key type on a keyboard. Keyboard support in general is just lacking, there is no way to set a first responder and no way to resign a first responder.
Using UIHostingController to bridge UIKit code to SwiftUI leads to other issues like Lists not behaving as they should (NavigationLinks will remain highlighted after you return from the Detail View). And the list goes on and on.
For instance, SwiftUI does not offer a pull to refresh feature (a deal breaker for me). SwiftUI provides no way of customizing the return key type on a keyboard. Keyboard support in general is just lacking, there is no way to set a first responder and no way to resign a first responder.
Using UIHostingController to bridge UIKit code to SwiftUI leads to other issues like Lists not behaving as they should (NavigationLinks will remain highlighted after you return from the Detail View). And the list goes on and on.