easy explain 썸네일형 리스트형 CS139P Course4 - class note M-V-VM 1. Model notices that itself has changed to ViewModel (swift struct acts on Copy On Write, so Swift can easily detect that the struct has changed when a memory copy happens for a struct) 2. ViewModel Publishes that Model has changed to View 3. View updates the member Views whose body depends on the @Published-keywored struct Concepts used ObservableObject protocol : ViewModel conform to t.. 더보기 이전 1 다음