Different between UIkit and Swiftui

What is different between UIkit and Swiftui
UIKit and SwiftUI have a completely different design philosophy:
  • UIKit is very stateful. Each view maintains its own state and your code is responsible for keeping that state in sync with your app’s state.

  • In SwiftUI your code is responsible for mapping your app’s state to a lightweight view hierarchy, and thne the framework takes care updating what’s on screen to match that view hierarchy.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
UIKit UIs are made using the drag-and-drop Interface Builder. UIKit apps connect to the code using outlets and actions.

SwiftUI UIs are made programmatically. SwiftUI code is controlled from the same code as the UI: hackingwithswift.com/quick-start/swiftui/how-to-create-a-tappable-button
Different between UIkit and Swiftui
 
 
Q