I wonder if its possible to make a for loop or something similar when you need to assign a lot of values to variables?
store.item1 = @"asdasd";
store.item2 = @"asdasd";
store.item3 = @"asdasd";
store.item4 = @"asdasd";
store.item5 = @"asdasd";
store.item6 = @"asdasd";
store.item7 = @"asdasd";
store.item8 = @"asdasd";
store.item9 = @"asdasd";
something like:
for (int i = 0; i < 10; i++)
{
store.item%i = @"asds";
}
Thanks in advance