// // InstructionsViewController.swift // Guibe // // Created by Max Hunt on 02/06/2019. // Copyright © 2019 8. All rights reserved. // import UIKit import MapKit class InstructionsViewController: UIViewController { @IBOutlet weak var backBtn: UIButton! @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 easterEggPressed(_ sender: Any) { // self.separator.isHidden = true // self.separator.alpha = 0.0 // UIView.animate(withDuration: 0.2, animations: {self.view.backgroundColor = .green}) // DispatchQueue.main.asyncAfter(deadline: .now() + 0.4) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .red})} // DispatchQueue.main.asyncAfter(deadline: .now() + 0.8) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .blue})} // DispatchQueue.main.asyncAfter(deadline: .now() + 1.2) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .yellow})} // DispatchQueue.main.asyncAfter(deadline: .now() + 1.6) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .cyan})} // DispatchQueue.main.asyncAfter(deadline: .now() + 2.0) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .magenta})} // DispatchQueue.main.asyncAfter(deadline: .now() + 2.4) {UIView.animate(withDuration: 0.3, animations: {self.view.backgroundColor = .white})} // self.separator.isHidden = false // self.separator.alpha = 1.0 // } // @IBAction func VABtnPressed(_ sender: Any) { // // } // ivc.stepBySteps = mvc.textSteps // var stepsText: [MKRoute.Step]? // var currentStep: Int = 0 override func viewDidLoad() { super.viewDidLoad() // easterEggBtn.accessibilityLabel = "Easter egg, do not press" backBtn.accessibilityLabel = "Back" // 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. } */ }