Skip to content

Instantly share code, notes, and snippets.

@WildStudio
Created May 29, 2019 17:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WildStudio/1f79193b059f3c78ce03ca22773780dc to your computer and use it in GitHub Desktop.
Save WildStudio/1f79193b059f3c78ce03ca22773780dc to your computer and use it in GitHub Desktop.
Set the card frame on tapping an item
@IBAction func onTapButton(_ sender: Any) {
presentAnimationController.selectedCardFrame = imageView.frame
self.performSegue(withIdentifier: "showDetail", sender: nil)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment