In chapter 15 the book says:
The alert(item:) modifier controls an alert presentation on-screen. It takes a publisher with an optional output called the item. Whenever that publisher emits a non-nil value, it presents the alert view.”
That doesn’t seem accurate. The argument is Binding
and a Binding
is not a Publisher
. Am I missing something?
Rob