NSArray *Lines = [StringData componentsSeparatedByString:@"\n"];
for (NSArray *ThisLine in Lines){
NSArray *Items = [ThisLine componentsSeparatedByString:@","];
...
}
I get a warning NSArray may not respond to componentsSeparatedByString.
Any thoughts?
You are declaring
ThisLineas an array when it should be anNSString. This should fix it