Created
July 20, 2015 19:44
-
-
Save ezfe/c9e79a960b5c790edfe4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func prepareForSegue(segue: NSStoryboardSegue, sender: AnyObject?) { | |
if let sender = sender as? NSButton { | |
if let destination = segue.destinationController as? DeathViewController, cPerson = self.currentPerson() { | |
destination.person = cPerson | |
return | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment