Skip to content

Instantly share code, notes, and snippets.

@rcoh
Last active December 20, 2015 03:29
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 rcoh/6064223 to your computer and use it in GitHub Desktop.
Save rcoh/6064223 to your computer and use it in GitHub Desktop.
Return to calle
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