• 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: [Cocoa] How convert ":Developer:Private:jam" into a path POSIX-style
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Cocoa] How convert ":Developer:Private:jam" into a path POSIX-style


  • Subject: Re: [Cocoa] How convert ":Developer:Private:jam" into a path POSIX-style
  • From: "donaldo donaldo" <email@hidden>
  • Date: Fri, 20 Apr 2007 17:48:04 +0200

Thx
My code :

char path[500] = "mypath";
CFStringRef urlString = (NSString *) path;
CFURLRef url = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, urlString,
kCFURLHFSPathStyle, YES);
CFStringRef resultString = CFURLCopyFileSystemPath
(url,kCFURLPOSIXPathStyle);
NSString* myString = (NSString*) resultString;

On 4/19/07, donaldo donaldo <email@hidden> wrote:

Hi all,

I want convert a path as ":Developer:Private:jam" into a path POSIX-style.
You have an idea?

Donaldo

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: [Cocoa] How convert ":Developer:Private:jam" into a path POSIX-style
      • From: Stefan Werner <email@hidden>
    • Re: [Cocoa] How convert ":Developer:Private:jam" into a path POSIX-style
      • From: "Finlay Dobbie" <email@hidden>
References: 
 >[Cocoa] How convert ":Developer:Private:jam" into a path POSIX-style (From: "donaldo donaldo" <email@hidden>)

  • Prev by Date: Re: NSOpenPanel -runModalForDirectory:file:types: won't select file
  • Next by Date: Re: [Cocoa] How convert ":Developer:Private:jam" into a path POSIX-style
  • Previous by thread: Re: [Cocoa] How convert ":Developer:Private:jam" into a path POSIX-style
  • Next by thread: Re: [Cocoa] How convert ":Developer:Private:jam" into a path POSIX-style
  • Index(es):
    • Date
    • Thread