// // ViewController2.swift // iOSSegues3 // // Created by USER1 on 22.11.16. // Copyright © 2016 HSHARZ. All rights reserved. // import UIKit // http://stackoverflow.com/questions/12561735/what-are-unwind-segues-for-and-how-do-you-use-them class ViewController2: UIViewController { // @IBAction func unwindToRed(unwindSegue: UIStoryboardSegue) { // if let blueViewController = unwindSegue.source as? ViewController3 { // //println("Coming from View3") // } // else if let redViewController = unwindSegue.source as? ViewController{ // // println("Coming from RED") // } // } // // Rücksprung vom EditViewController Abbruch @IBAction func unwindToGreenController(_ segue:UIStoryboardSegue) { } override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() // Dispose of any resources that can be recreated. } /* // 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.destinationViewController. // Pass the selected object to the new view controller. } */ }