i try made something like this:
for (int i=0; i<8; i++) {
UIButton *btn_i = [[UIButton alloc] initWithFrame:CGRectMake(0 * numberRowsOfMenu, 0 * heightOfRow, btnWidth, btnHeight)];
}
where UIButton *btn_i
is btn_
+ value of i
.
it is possible in Obj-C?