What this article is about

  1. Updaters.Nonduplicate — updates when its equality is broken
  2. Updaters.True — updates when its value is true
  3. Updaters.Event — updates when it receives a value from a publisher
view.modifier(Updaters.Nonduplicate(equatable))view.modifier(Updaters.True(boolean))view.modifier(Updaters.Event(publisher))

How views are updated


What this article is about

Our destination


  1. Store the object and its publisher somewhere.
  2. Create a publisher that describes how to update the object.
  3. Create a subscription that connects the object and the publisher.
  4. Store the subscription somewhere.

Oscar Byström Ericsson

I tried to be normal once.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store