I want to use contents of String or Array in an IF ELSE statement for iphone
- by Michael Robinson
I want to check to see if an array is empty to activate a shipping method.
Here is the code for returning the array.
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *fullFileName = [NSString stringWithFormat:@"%@/arraySaveFile",…