Last active
December 20, 2015 03:29
-
-
Save rcoh/6064223 to your computer and use it in GitHub Desktop.
Return to calle
This file contains 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
if ([INK appShouldReturn]) { | |
// 3 choices (choose 1) | |
// Return with data unchanged | |
[Ink return]; | |
// Return with updated data | |
[INK returnBlob:newBlob]; | |
// Return with error: (You must indicate to the user what went wrong before calling this) | |
[INK returnWithError:error]; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment