On 22-Jul-08, at 11:09 AM, Ian Jackson wrote:
I'm looking for some help parsing a string from a file.
Firstly, getting the string is causing some issues. I read the
String Programming Guide for Cocoa, and got this:
NSString *path = ...;
NSData *data = [NSData dataWithContentsOfFile:path];
- Does the Objective-C 2.0 fast enumeration make sense to be used? I
mean, if I don't use it, will my application perform worse on Leopard?
Unless you are doing a huge number of enumerations, the difference is
speed will not be worth the extra coding hassle. Better check the
difference