• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: lowercaseString on Jaguar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • NSOpenPanel runModalForTypes: trouble (was: lowercaseString on Jaguar)
      • From: Michael Becker <email@hidden>
References: 
 >lowercaseString on Jaguar (From: Michael Becker <email@hidden>)

  • Prev by Date: Getting process status
  • Next by Date: Re: Getting process status
  • Previous by thread: Re: lowercaseString on Jaguar
  • Next by thread: NSOpenPanel runModalForTypes: trouble (was: lowercaseString on Jaguar)
  • Index(es):
    • Date
    • Thread