Skip to content

Instantly share code, notes, and snippets.

@veritech
Created January 4, 2011 21:51
Show Gist options
  • Save veritech/765507 to your computer and use it in GitHub Desktop.
Save veritech/765507 to your computer and use it in GitHub Desktop.
NSNotificationQueue
-(void) setNeedsReload{
//[self reload];
NSNotification *notification;
notification = [NSNotification notificationWithName:@"reloadNotification"
object:self];
[[NSNotificationQueue defaultQueue] enqueueNotification:notification
postingStyle:NSPostNow
coalesceMask:(NSNotificationCoalescingOnName|NSNotificationCoalescingOnSender)
forModes:nil];
}
-(void) reload{
//Call the data source delegate
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment