XCode: How to adress dynamic Variables?
Posted
by Markus S.
on Stack Overflow
See other posts from Stack Overflow
or by Markus S.
Published on 2010-03-26T09:03:19Z
Indexed on
2010/03/26
9:13 UTC
Read the original article
Hit count: 351
I want to do something like that:
for (v=1;v=150;v++) {
for (h=1; h=250;v++) {
tile_0%i_0%i.image = [UIImage imageWithData:tmp_content_of_tile]; //1st %i = v; 2nd %i = h
}
}
In the %i should be inserted the current value of "v" or "h"? Is it possible? How is it called?
Greets!
© Stack Overflow or respective owner