Here is the object, and have following attribute:
NSString attri1;
NSString attri2;
NSString attri3;
NSString attri4;
If I want to list these attri, I can call
NSLog(aObj.attri1);
But can I make the 1 as a variable to call it from a loop? Is this possible to do so in objective-c?
for(int i = 0; i < [array count]; i++)
{
NSLog(aObj.attri1); //is this possible to become one line, dynamic generated variable
}
Thank you. btw, What is this feature called? Thanks.