I know this question was already asked in the past, but i am really confused and can't get out of it.
i have got 9 pointers to IB objects declared like:
IBOutlet UIButton *but1;
IBOutlet UIButton *but2;
....
NSMutableArray *buttons;
declared properties:
@property (nonatomic,retain) IBOutlet UIButton *but1;
@property .....
in IB i have made the connections from buttons to pointers.
I need now to fill the array buttons with these pointers to run UIButton methods like
[[buttons objectWithId:0] setImage:[UIImage imageNamed:@"image1.png"]];
I know i can't fill arrays with pointers, is there some way to get IBOutlets into arrays?