I call this function right before I perform the segue with code
// function with code for loading the data from core data
print("loaded " +	caption)
self.caption = caption
self.size = size as! String
self.text = text as! String
}
}
print ("fertig")
} catch {
print(error)
}
let vc = ThirdViewController()
vc.initializer(caption : caption, size : size, text : text)
// Segue wird ausgeführt
performSegue(withIdentifier: "shownext", sender: indexesToRedraw)
}
Topic:
Programming Languages
SubTopic:
Swift
Tags: