SwiftUI

starting with swiftUI - lecture

  • swift support both functional programming and object oriented programming.

  • we mostly using functional programming in building the UI.

  • OOP used to hook up our logical models for UI

  • in functional programming how things are behave is crucial.

  • we drop functions, any where we want in swiftUI.they are first class citizens.

  • views are functional programming in swiftUI.

    • in functional programming how things are behave are crucial.
    • because you can call them when ever you want
  • swiftUI views can holds a maximum of 10 views. Group are used to mitigate this problem


Content