Reconfigure iOS project to not be weird.
This commit is contained in:
35
CarControlleriOS/CarController/ContentView.swift
Normal file
35
CarControlleriOS/CarController/ContentView.swift
Normal file
@@ -0,0 +1,35 @@
|
||||
//
|
||||
// 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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user