AQUI icon indicating copy to clipboard operation
AQUI copied to clipboard

Binding extension inaccessible when used as a package

Open jeffd opened this issue 5 years ago • 0 comments

I get the following error when I try to use the nullable Binding extensions like Binding($cdObject.notes, replacingNilWith: "") via the Swift Package Manager

 'Binding<Value>' initializer is inaccessible due to 'internal' protection level

If I copy OptionalBinding.swift into my project. It works fine. Maybe all that is needed is that the extension functions are marked as public?

jeffd avatar Jan 23 '20 23:01 jeffd