• 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: Getting Volume Name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting Volume Name


  • Subject: Re: Getting Volume Name
  • From: Dan Bernstein <email@hidden>
  • Date: Wed, 22 Jun 2005 14:00:07 +0300

Which volume? To get the name of the volume containing path, where
path is an NSString*,

NSString *volumeName = [[[NSFileManager defaultManager]
componentsToDisplayForPath:path] objectAtIndex:0];

On 6/20/05, Shirley S. Fung <email@hidden> wrote:
> Does anyone know how I can find the volume name using cocoa?
>
> Any help would be greatly appreciated.
>
> Shirley
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Getting Volume Name (From: "Shirley S. Fung" <email@hidden>)

  • Prev by Date: Re: Updates from Download
  • Next by Date: Re: Confused by Apple's DragNDropOutlineView example
  • Previous by thread: Getting Volume Name
  • Next by thread: Modal dialog pauses WebView rendering
  • Index(es):
    • Date
    • Thread