Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can we use SwiftUi to build iOS Today Extension?

I want to use Swift UI to build iOS's Today Extensions, but I don't know how to get started.

like image 400
Lxxyx Avatar asked Oct 21 '19 16:10

Lxxyx


People also ask

Is SwiftUI the future of iOS development?

Again, I want to reiterate that SwiftUI is absolutely going to be the future of development for Apple's platforms, but it will take a long time to gain adoption at the level of UIKit.

Will SwiftUI support iOS 12?

SwiftUI runs on iOS 13, macOS 10.15, tvOS 13, and watchOS 6, or any future later versions of those platforms. This means if you work on an app that must support iOS N-1 or even N-2 – i.e., the current version and one or two before that – then you will be limited in terms of the features you can offer.

Is Apple using SwiftUI?

As we saw, Apple continues to adopt Swift for its own apps: the number of binaries using Swift has doubled between iOS 14 and iOS 15. Approximatively 13% of the binaries are now using Swift. Additionally, the adoption of SwiftUI really started this year with several flagship apps now using SwiftUI.

What is SwiftUI used for?

SwiftUI helps you build great-looking apps across all Apple platforms with the power of Swift — and surprisingly little code. You can bring even better experiences to everyone, on any Apple device, using just one set of tools and APIs.


1 Answers

Check this UIHostingController tutorial out, easy, straightforward and works like a charm: https://medium.com/@code_cookies/swiftui-embed-swiftui-view-into-the-storyboard-a6fc96e7a0a1

like image 89
juliancadi Avatar answered Sep 25 '22 22:09

juliancadi