DetailViewController:
@IBOutlet var selectedBundesland: UILabel!
TableViewController:
override func prepareForSegue
Recently had this problem. The problem was that I had dragged the segue from a specific object from my current view controller to the destination view controller - do not do this if you want to pass values.
Instead drag it from the yellow block at the top of the window to the destination view controller. Then name the segue appropriately.
Then use the if (segue.identifier == "BackToCalculator") to assign the value as you are currently. All should work out!