title: Pass information to another view with NavigationLink
body: <p>I have following View and I need to pass <code>item</code> content to another View (DetailsEvent.swift), I am using <code>NavigationLink</code> . (I'm using Xcode 11 GM)</p>
  
  <pre><code>struct Events: View {
  
      @ObservedObject var networkManager = NetworkManager()
  
      var body: some View {
  
          NavigationView{
  
              List(self.networkManager.eventos.events){ item in
  
                  NavigationLink(destination: DetailsEvent(item: item))  {
  
                      VStack(alignment: .leading) {
  
                        HStack {
  
                          Image(systemName: "calendar")
                          .foregroundColor(.gray)
  
                          Text(item.start_date)
                              .font(.subheadline)
                              .foregroundColor(.gray)
                        }
  
                      Text(item.title)
                          .font(.headline)                    
                  }
                }
  
             }
              .navigationBarTitle("Events")
          }
      }
  </code></pre>
  
  <p>But it gives me the following error: </p>
  
  <blockquote>
    <p>Argument passed to call that takes no arguments</p>
  </blockquote>
  
  <p>Without passing any variable: <code>NavigationLink (destination: DetailsEvent ()</code> everything works fine.</p>
  
  <p>DetailsEvent.swift</p>
  
  <pre><code>struct DetailsEvent: View {
      var body: some View {
          Text("here details content")
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/r1Elc.png" rel="noreferrer"><img src="https://i.stack.imgur.com/r1Elc.png" alt="error"></a></p>