iOS Swift - Navigation
Given the code snippet below, what will be the value of
destinationVC.userName after the segue?override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
if segue.identifier == "showDetail" {
let destinationVC = segue.destination as! DetailViewController
destinationVC.userName = "Alice"
}
}