I am trying to write a Wavefront .obj 3D file reader in Cocoa and am running into simple problems like comparing NSString variables to explicit strings like:
if (MyNSString == 'v 12') {
blah
}
I'm used to PERL where this is all very easy.
Cocoa has oodles of special methods for dealing with such things, I suspect, but I haven't found a good resource to be able to do simple things like the above.
I have looked through "Learning Cocoa" (the book) and the developer examples that came pre-installed but they all seem to avoid the above scenario and provide little help.
The Developer Help Center very tool rarely turns up useful info too (and is not even text searchable like an HTML page and drives me nuts).
Is there some magical resource for this kind of thing I'm missing?
I'm getting rather frustrated.
Thanks for any help! -Len
if (MyNSString == 'v 12') {
blah
}
I'm used to PERL where this is all very easy.
Cocoa has oodles of special methods for dealing with such things, I suspect, but I haven't found a good resource to be able to do simple things like the above.
I have looked through "Learning Cocoa" (the book) and the developer examples that came pre-installed but they all seem to avoid the above scenario and provide little help.
The Developer Help Center very tool rarely turns up useful info too (and is not even text searchable like an HTML page and drives me nuts).
Is there some magical resource for this kind of thing I'm missing?
I'm getting rather frustrated.
Thanks for any help! -Len