Skip to content

Instantly share code, notes, and snippets.

@MarvinSchramm
Created January 20, 2015 14:09
Show Gist options
  • Save MarvinSchramm/cbfa25869dcbadab6a9d to your computer and use it in GitHub Desktop.
Save MarvinSchramm/cbfa25869dcbadab6a9d to your computer and use it in GitHub Desktop.
if segue.identifier == "toEmbeddedCompass" || segue.identifier == "toCompass"{
var compassController = segue.destinationViewController as CompassController
compassController.currentRecord = destination
if segue.identifier == "toEmbeddedCompass" {
compassController.isEmbbeded = true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment