Re: Two Questions About Parsing a String

2008-07-22 Thread PGM
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];

Re: Tips to deploy applications to multiple Mac OS X versions

2008-04-09 Thread PGM
- 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