SwiftUI

  • Use struct instead of class

  • A View Defines a Piece of UI

  • A View Defines its Dependencies

    • State property

      • SwiftUI can observe when they are read and written

  • Where is truth?

Last updated