I've got a int, that is changed in a previous method, that now has to be part of the name of a button variable. For example:
int numberFromLastOne;
numberFromLastOne = 4;
I then want to get 'button4' to do something. Could I use something like this?
[[button@"%d", numberFromLastOne] doSomething:withSomethingElse];
I've never had to do something this before. Any ideas would be appreciated :)