M for Model, V for View, and VM for View Model. MVVM is the new design pattern that is best use with SwiftUI. In this video, we will replace our Quotes app which is using @State and @Binding when passing data, to use ObservableObject + Published to make a Reactive UI.
Video Timestamps
00:00 Intro
01:09 onDelete
02:31 MVVM
03:06 View Model a class
03:33 ObservableObject and Published
03:57 StateObject
04:17 ObservedObject
08:29 toolbar
09:11 onMove
Thank you for watching! Like, comment, subscribe!
📷 Follow me on Instagram
www.instagram.com/codingnutshell/
🐥 My Twitter
twitter.com/CodingNutshell
#swiftui #swift #iosdeveloper
コメント