Is there any provision in objective c so that I can call same selector on multiple object.
Some thing like jQuery does. I referred this link but it requires all objects in array to invoke selector makeObjectsPerformSelector.
For example I have following code:
[_addButton setTarget:myObject];
[_deleteButton setTarget:myObject];
[_editButton setTarget:myObject];
to a line some thing like
[_addButton, _deleteButton, _editButton setTarget:myObject];
I know it is syntactically not making any sense on objective-c, but is there any trick ?