문제

What are the differences between the observable, ObservableObject and Model? Thank You.

도움이 되었습니까?

해결책

Model inherits from ObservableObject which inherits from Observable.

  • Observable provides support for events - the bind, unbind and trigger methods.
  • ObservableObject provides change tracking. Used by the DataSource and the MVVM framework.
  • Model provides identity (via the id field) and field definition. Used by the DataSource when schema.model is set.
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top