import SwiftUI import CoreData struct ContentView : View { var body : some View { NavigationView { List ( 1 ..< 100 ) { row in Text ( "Row \(row) " ) } .toolbar { ToolbarItemGroup ( placement : . navigationBarLeading ) { Text ( "About" ) } ToolbarItemGroup ( placement : . navigationBarTrailing ) { Image ( systemName : "person" ) } } } ...
// // ContentView.swift // test // // Created by saravana kumar on 18/10/23. // import SwiftUI import CoreData struct ContentView : View { var body : some View { List () { Text ( "saravana" ) Text ( "saravana" ) Text ( "saravana" ) } . listStyle ( SidebarListStyle ()) } struct ContentView_Previews : PreviewProvider { static var previews : some View { ContentView () } } } Output: