Skip to content

Instantly share code, notes, and snippets.

@aaustin
Last active September 14, 2016 23:55
Show Gist options
  • Save aaustin/7bc1bd29fff9668ab835d827d151b6a7 to your computer and use it in GitHub Desktop.
Save aaustin/7bc1bd29fff9668ab835d827d151b6a7 to your computer and use it in GitHub Desktop.
#pragma mark NSUserActivity Delegate Methods
- (void)userActivityWillSave:(NSUserActivity *)userActivity {
// self.userInfo is an instance dictionary of keys and values that you associate with the NSUserActivity
[userActivity addUserInfoEntriesFromDictionary:self.userInfo];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment