Code: No segue
Code & Segue: Segue is created in Storyboard, action is invoked in code
Seque: No code. set up completely in Storyboard
CurrentVC -> prepareForSeque -> NextVC
override func prepare(for seque: UIStoryboardSegue, sender: Any?) if segue.identifier == "rollDice"{ let controller = segue.destination as! DiceViewController controller.firstValue = randomDiceValue() controller.secondValue = randomDiceValue() }
self.textField1.delegate = emojiDelegate self.textField2.delegate = colorizerDelegate self.textField3.delegate = self
@IBAction func pickAnImage(_ sender: Any){ let imagePicker = UIImagePickerController() imagePicker.delegate = self present(imagePicker, animated: true, completion: nil) }