Do you think Swift will die and Objective-C will shine again, because there're much more code written in Objc compared to Swifit, and therefore LLMs know Objc better?
It's wrong, you can easily find an example uses pure SwiftUI view for that - "Even today, basic stuff like camera previews need to come wrapped in a UIHostingController."
Frankly, pure SwiftUI preview is not optimal approach, definitely SwiftUI needs to have a new camera framework. But saying you need to use UIKit is not true.
No, I know you can implement camera preview view with UIHostingController or UIViewControllerRepresentable. But you have the 3rd way is pure SwiftUI view, I built one for my apps.
Do you think Swift will die and Objective-C will shine again, because there're much more code written in Objc compared to Swifit, and therefore LLMs know Objc better?
I think Swift likely has more training data out there these days, there are many more mobile devs since 2015+ than before
It's nice way of thinking! Great article!
It's wrong, you can easily find an example uses pure SwiftUI view for that - "Even today, basic stuff like camera previews need to come wrapped in a UIHostingController."
You can do the image picker thingy, but anything more than that needs UIKit wrappers, no?
Picking photos is not camere, google is free. Now I see how you come with idea SwiftUI died in 2025 :)
Googling it, and there is no camera component?
Oh, I think I see what you mean - I meant UIViewControllerRepresentable, not UIHostingController - this is by no means a pure SwiftUI view!
Frankly, pure SwiftUI preview is not optimal approach, definitely SwiftUI needs to have a new camera framework. But saying you need to use UIKit is not true.
No, I know you can implement camera preview view with UIHostingController or UIViewControllerRepresentable. But you have the 3rd way is pure SwiftUI view, I built one for my apps.
I feel like I'm going crazy. What's the pure SwiftUI view where they have a camera?
I did a google for you, suprisingly you didn't found it (disclaimer: it was one of post I read while building camera part for my apps) https://www.createwithswift.com/camera-capture-setup-in-a-swiftui-app/