4. NOTIFY PROCESS
• 流程
• - ParentViewController press search button
• - ParentViewController find the first missing data from memory( or
DB)
• - ParentViewController notify view (or viewModel) of the first
missing data to show `missing animation`
5. MANY WAYS TO PASS DATA(ACTION)
• Question:
• - How to pass data (action) from ParentViewController to the first
view? It's hard to find the first view
• - 1. Keep subViewModels. Cons: view are dynamic, we need to
update subViewModels often
• - 2. Use delegate to chain viewModels. Cons: many delegates
• - 3. RxSwfit? Bind viewModel and subViewModel. Cons: similar to 1.
• - 4. notification: How to find post to correct view? Or let the
correct view receive?