Swift UI: Building Custom Views | raywenderlich.com

This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4313238-swift-ui-building-custom-views

Great tutorials Josh, thank you. On the latest Xcode Beta 4 I’m getting a compile error in ‘Employee.swift’: Type ‘WenderlichEmployee’ does not conform too protocol ‘BindableObject’. I’ve tried to find it but my Swift skills are not up to the challenge. Thanks in advance!

Hi there! Thanks for your question. This is actually something I ran into the other day - it looks like the BindableObject protocol got updated since I created this screencast. The protocol used to have a didChange property, but now the code has a willChange property instead.

var willChange = PassthroughSubject<WenderlichEmployee, Never>()

Try that and let me know if it works!

The starter project attached for this project does not compile

@hococoder Can you please help with this when you get a chance? Thank you - much appreciated! :]