• 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
NSOpenPanel runModalForTypes: trouble (was: lowercaseString on Jaguar)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOpenPanel runModalForTypes: trouble (was: lowercaseString on Jaguar)


  • Subject: NSOpenPanel runModalForTypes: trouble (was: lowercaseString on Jaguar)
  • From: Michael Becker <email@hidden>
  • Date: Wed, 16 Jun 2004 12:42:45 +0200

Hi!

I found the ACTUAL problem. NSOpenPanel's runModalForDirectory:file:types: takes an NSArray for the 'filetypes' parameter. However, it seems to be case-sensitive on 10.2.8, whereas it is case-insensitive on 10.3.
I want people to only load JPEG-Images, do I have to provide an array with all possible versions of capitalization of the words 'JPG' and 'JPEG'? Or is there something I am missing?

Bye,
Michael
_______________________________________________
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:
    • Re: NSOpenPanel runModalForTypes: trouble (was: lowercaseString on Jaguar)
      • From: Stephane Sudre <email@hidden>
References: 
 >lowercaseString on Jaguar (From: Michael Becker <email@hidden>)
 >Re: lowercaseString on Jaguar (From: Marcel Weiher <email@hidden>)

  • Prev by Date: [newbie] numeric strings
  • Next by Date: Re: Locking
  • Previous by thread: Re: lowercaseString on Jaguar
  • Next by thread: Re: NSOpenPanel runModalForTypes: trouble (was: lowercaseString on Jaguar)
  • Index(es):
    • Date
    • Thread