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 more