iphone - Sending data to a method registered for a notification -


i need pass data method registering execute once receive notification

[[nsnotificationcenter defaultcenter] addobserver:self selector:@selector(keyboardwillshow:withcell:) name:uikeyboardwillshownotification object:nil]; 

here want send data withcell part of method.

how can achieve this?

short answer: can't. you're registering notification , can't control sent notification.

what do?


Comments