Posts

Post not yet marked as solved
1 Replies
1.2k Views
struct NavigationItem&lt;Content: View&gt;: View { &#9;private let tab: Tab   private var selection: Binding&lt;Tab&gt; &#9;private let content: Content   var body: some View {     NavigationLink(destination: content, tag: tab, selection: selection) {&#9;// <-- [X] Compiler error &#9;&#9;&#9;&#9;...     }   } } Compiler error: Cannot convert value of type 'Binding&lt;Tab&gt;' to expected argument type 'Binding&lt;Tab?&gt;'
Posted Last updated
.