Hi, I'm quite new to objective-c and my knowledge is limited. Help would be really appreciated.
Here is the situation, I have a set of UIButton objects, their names are
space11Button, space12Button, space13Button, .... , space99Button
I would like to set the title of a particular button, say, spaceijButton,
when I obtain ij from another integer variable (ie, int index=ij;
when ij is the two digit number).
I can do that by using this command when I know in advance what i and j are
The problem is, I don't know in advance what i and j would be. Is it possible to write a program to set the title of that particular spaceijButton.
Thank you very much in advance.
Here is the situation, I have a set of UIButton objects, their names are
space11Button, space12Button, space13Button, .... , space99Button
I would like to set the title of a particular button, say, spaceijButton,
when I obtain ij from another integer variable (ie, int index=ij;
when ij is the two digit number).
I can do that by using this command when I know in advance what i and j are
Code:
[spaceijButton setTitle:@"My Title";
Thank you very much in advance.