// // ContentView.swift // CarController // // Created by Michael Pivato on 22/2/20. // Copyright © 2020 Michael Pivato. All rights reserved. // import SwiftUI struct ContentView: View { var body: some View { NavigationView{ List{ NavigationLink(destination: SimpleControllerView()){ Text("Simple Controller") } // TODO: Change these when other functionality is implemented NavigationLink(destination: SimpleControllerView()){ Text("Gamepad controller") } NavigationLink(destination: SimpleControllerView()){ Text("SLAM Controller") } NavigationLink(destination: SimpleControllerView()){ Text("Lidar Tracking Controller") } NavigationLink(destination: SimpleControllerView()){ Text("Mono Camera Tracking Controller") } NavigationLink(destination: SimpleControllerView()){ Text("Hybrid Lidar Camera Tracking Controller") } } .navigationBarTitle(Text("Controllers")) } .navigationViewStyle(StackNavigationViewStyle()) } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } }