Re: lowercaseString on Jaguar
Re: lowercaseString on Jaguar
- Subject: Re: lowercaseString on Jaguar
- From: Marcel Weiher <email@hidden>
- Date: Fri, 11 Jun 2004 21:23:43 +0100
NSString* lpath = [ path lowercaseString];
if ( [ lpath hasSuffix:@".jpg"] || [ lpath hasSuffix:@".jpeg"] )
filenameIsJPEG = YES;
Looks fine.
But not under Jaguar. I cannot test it myself, but people told me that
"images with capital endings such as .JPG won't be recognized" by my
application. But this works under Panther. I've read something about
"incorrect mappings" in this method, which have been fixed. Does
anybody know anything more precise?
My guess would be that your code isn't being called in the first place,
because your app isn't recognized as opening JPG files (in the plist
file).
Cheers,
Marcel
--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
1d480c25f397c4786386135f8e8938e4
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.