Is BindableObject broken in Beta 4?

I'm trying to compile one of the SwiftUI tutorials (Working with UI Controls) but it's not working because UserData is not conforming to BindableObject

The compiler is complaining about PublisherType not being declared, but after reading the non existant documentation I have no idea what to do to make it work.

Accepted Reply

OK I figured it out, I just assumed all the SDK changes were under the Xcode Release Notes but some of them are under iOS and iPadOS

That tipped me off about didChange being replaced by willChange so it's actually an easy fix

Replies

OK I figured it out, I just assumed all the SDK changes were under the Xcode Release Notes but some of them are under iOS and iPadOS

That tipped me off about didChange being replaced by willChange so it's actually an easy fix