Skip to content

Binding extension inaccessible when used as a package #2

Description

@jeffd

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions