I want to pass a variable to he buttonEvent method in the selector.
[button addTarget:messageTableViewController action:@selector(buttonEvent) forControlEvents:UIControlEventTouchUpInside];
How does one do this, say if the variable is uid?
the method signature is -(void)buttonEvent:(NString *)uid;