Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save sstadelman/ad8eaab56fa0c30c47a1 to your computer and use it in GitHub Desktop.

Select an option

Save sstadelman/ad8eaab56fa0c30c47a1 to your computer and use it in GitHub Desktop.
NSNotification post notification from request
- (void) requestServerResponse:(id<SODataRequestExecution>)requestExecution
{
if ([requestExecution.request.customTag isEqualToString:@"AccountRequest"]) {
[[NSNotificationCenter defaultCenter] postNotificationName:@"AccountRequest" object:requestExecution];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment