Guest User

Untitled

a guest
Oct 27th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
  2. if segue.identifier == "YourSegueId" {
  3. if let destinationVC = segue.destinationViewController as? YourViewController {
  4. destinationVC.yourProperty = "Some value"
  5. }
  6. }
  7. }
Add Comment
Please, Sign In to add comment