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

Popular posts from this blog

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -