36 lines
903 B
Swift
36 lines
903 B
Swift
//
|
|
// 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("SLAM Controller")
|
|
}
|
|
NavigationLink(destination: SimpleControllerView()){
|
|
Text("Tracking Controller")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
struct ContentView_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
ContentView()
|
|
}
|
|
}
|