title: Navigation stuff in SwiftUI
body: <p>I'm trying to figure out how to use the navigation bar in SwiftUI</p>
  
  <p>I want to put <code>BarButtonItem</code> and images inside the <code>NavigationBar</code></p>
  
  <p>I have been able to display the navigation bar and put titles
  <a href="https://i.stack.imgur.com/gneAW.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gneAW.png" alt="enter image description here"></a></p>
  
  <pre><code>var body: some View {
      NavigationView{
          List(0...5) { note in
  
              VStack(alignment: .leading) {
                  Text("title")
                  Text("Date")
                      .font(.subheadline)
                      .foregroundColor(.secondary)
              }
  
          }
          .navigationBarTitle(Text("Notes"))
  
      }
  }
  </code></pre>