I am trying to call a method that I have done successfully and set up fine. The problem comes in the basic calling with a variable.
obviously this doesnt work, should it be [prninstall "stTmp"]; or how do I let that know it is a variable and that it should read the value and not literally?
Code:
NSString *stTmp;
for (i=0; i<[arrPRNint count]; i++) {
stTmp = [arrPRNint objectAtIndex: i];
[prninstall stTmp];
}
obviously this doesnt work, should it be [prninstall "stTmp"]; or how do I let that know it is a variable and that it should read the value and not literally?