Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zntfdr committed Dec 9, 2021
1 parent fc4764c commit 3e93809
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

import SwiftUI

/// The extension from the article broke in Xcode 12.5 and no longer work
/// properly.
///
/// This updated extension is uglier but works as expected.
extension NavigationLink where Label == EmptyView, Destination == AnyView {
public init<V: Identifiable, Destination2: View>(
item: Binding<V?>,
Expand Down

0 comments on commit 3e93809

Please sign in to comment.