Last active
June 8, 2018 05:36
-
-
Save olbrichj/90acb8befbd8e61c4ef76d4c5d26b444 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
let danceIntent = DanceIntent() | |
danceIntent.<property> = //set here your configuration for this intent | |
let interaction = INInteraction(intent: danceIntent, response: nil) | |
interaction.donate { (error) in | |
if error != nil { | |
if let error = error as NSError? { | |
print("error") | |
} | |
} else { | |
print("success") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment