64 lines
1.5 KiB
Swift
64 lines
1.5 KiB
Swift
//
|
|
// InstructionsViewController.swift
|
|
// Guibe
|
|
//
|
|
// Created by Max Hunt on 02/06/2019.
|
|
// Copyright © 2019 8. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
import MapKit
|
|
|
|
class InstructionsViewController: UIViewController {
|
|
|
|
@IBAction func backBtnPressed(_ sender: Any) {
|
|
self.dismiss(animated: true, completion: nil)
|
|
}
|
|
|
|
@IBAction func writtenInstructionsBtnPressed(_ sender: Any) {
|
|
// let mvc = MainViewController()
|
|
// let ivc = WrittenInstructionsViewController()
|
|
//
|
|
// ivc.stepBySteps = mvc.textSteps
|
|
// ivc.currentStep = mvc.stepCounter
|
|
}
|
|
|
|
@IBAction func VABtnPressed(_ sender: Any) {
|
|
|
|
}
|
|
|
|
|
|
// ivc.stepBySteps = mvc.textSteps
|
|
|
|
// var stepsText: [MKRoute.Step]?
|
|
// var currentStep: Int = 0
|
|
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
|
|
// let mvc = MainViewController()
|
|
// let ivc = WrittenInstructionsViewController()
|
|
//
|
|
// print("-----InVC-----")
|
|
// print(stepsText)
|
|
// print(currentStep)
|
|
//
|
|
// ivc.stepBySteps = mvc.textSteps
|
|
// ivc.currentStep = mvc.stepCounter
|
|
|
|
// Do any additional setup after loading the view.
|
|
}
|
|
|
|
|
|
/*
|
|
// MARK: - Navigation
|
|
|
|
// In a storyboard-based application, you will often want to do a little preparation before navigation
|
|
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
|
|
// Get the new view controller using segue.destination.
|
|
// Pass the selected object to the new view controller.
|
|
}
|
|
*/
|
|
|
|
}
|