Problem Statement
What key concept differentiates SwiftUI from older UI frameworks like UIKit?
Explanation
SwiftUI uses a declarative syntax: you declare what your UI should look like based on current state, and the framework updates the view automatically when state changes. This contrasts with older frameworks like UIKit where you imperatively create and update views. Understanding this shift is fundamental in modern iOS/Swift interviews. (See discussion on SwiftUI’s declarative model)