I have a function that creates a UIView with a bunch of UIButtons.
Each button calls a function with a string for a parameter.
So, in my function I do something like:
[button addTarget: [multiRadio objectAtIndex:0]
action: NSSelectorFromString([multiRadio objectAtIndex:1])
forControlEvents:UIControlEventTouchUpInside];
However, this bit of code doesn't specify the string parameter that the action needs to get passed.
If I have that string parameter in [multiRadio objectAtIndex:2], how do I set the button's actions to use the string?