I need some help here.
So I have this class. Books.h
I want to do this
int a = 1
NSString *myName = [NSString stringWithFormat:@"Name%i", a];
Books *myName = [[Books alloc]init];
// some code here
a++;
// Re do the whole thing over
What i dont get is how to pass my custom variable name to Books. It will end up being a dictionary so i guess i cant use the same name all the time. I will be adding values on button click.
Or can i use that?