• 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: NSOpenPanel & NSFileTypeForHFSTypeCode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOpenPanel & NSFileTypeForHFSTypeCode


  • Subject: Re: NSOpenPanel & NSFileTypeForHFSTypeCode
  • From: "Sean McBride" <email@hidden>
  • Date: Wed, 10 Oct 2007 17:47:49 -0400
  • Organization: Rogue Research

On 10/10/07 5:18 PM, Chris Heimark said:

>>> You probably don't want to go down this route.
>>>
>>>> And is it possible to use setFileTypes to only allow the
>>>> selection  of a volume?
>>>
>Is the implication of this statement that there are NO fileType
>symbols that would narrow the scope of the selectable files? I
>presume answer is YES.

It's too bad that NSOpenPanel (unlike Nav Serv) can't filter by UTI.
Then you could use kUTTypeVolume aka "public.volume".  You might try
calling UTTypeCopyDeclaration(kUTTypeVolume) and seeing if there is any
equivalent HFS type.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSOpenPanel & NSFileTypeForHFSTypeCode
      • From: Corbin Dunn <email@hidden>
    • Re: NSOpenPanel & NSFileTypeForHFSTypeCode
      • From: Uli Kusterer <email@hidden>
References: 
 >NSOpenPanel & NSFileTypeForHFSTypeCode (From: Chris Heimark <email@hidden>)
 >Re: NSOpenPanel & NSFileTypeForHFSTypeCode (From: Corbin Dunn <email@hidden>)
 >Re: NSOpenPanel & NSFileTypeForHFSTypeCode (From: John Stiles <email@hidden>)
 >Re: NSOpenPanel & NSFileTypeForHFSTypeCode (From: Chris Heimark <email@hidden>)

  • Prev by Date: Re: Wanted: Cocoa Programmers
  • Next by Date: Re: NSOpenPanel & NSFileTypeForHFSTypeCode
  • Previous by thread: Re: NSOpenPanel & NSFileTypeForHFSTypeCode
  • Next by thread: Re: NSOpenPanel & NSFileTypeForHFSTypeCode
  • Index(es):
    • Date
    • Thread