The short answer is both. To write SwiftUI apps you must also learn Swift because Swift is the programming language SwiftUI uses .
Read moreShould you use SwiftUI?
In short, SwiftUI is a wonderful and very promising framework. I think it’s the future. But, it could be another 3–5 years until it reaches the same reliability and robustness as UIKit. However, that doesn’t mean you shouldn’t use SwiftUI today .
Read moreShould I learn UIKit before SwiftUI?
And ever time the answer is pretty much the same: Learn both. Learn UIKit first, it’s solid and drastically less buggy than SwiftUI right now (as SwiftUI is only in beta previous to it’s first release). And also because SwiftUI is based in UIKit in a conceptual sense that you have a finer degree of control in UIKit.
Read moreIs UIKit better than SwiftUI?
Since SwiftUI uses UIkit and AppKit behind the scenes, this means that rendering isn’t any faster. However, in terms of development build time, SwiftUI usually performs better than UIkit . That’s because the hierarchy of view resides in value-type structs stored on the stack, which means no costly memory allocations.21 Haz 2021
Read moreIs UIKit part of SwiftUI?
SwiftUI works seamlessly with the existing UI frameworks on all Apple platforms . For example, you can place UIKit views and view controllers inside SwiftUI views, and vice versa.
Read moreDoes SwiftUI replace UIKit?
SwiftUI won’t replace UIKit until those students @Stadford get into the management of software companies , so it will be a few more years yet.
Read more