Skip to content

Instantly share code, notes, and snippets.

@olbrichj
Last active June 6, 2018 14:30
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 olbrichj/7fa1cf1c6be993bd55203d90ed5ddb29 to your computer and use it in GitHub Desktop.
Save olbrichj/7fa1cf1c6be993bd55203d90ed5ddb29 to your computer and use it in GitHub Desktop.
func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool {
if let intent = userActivity.interaction?.intent as? DanceIntent {
handle(intent)
return true
}
return false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment