• 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: How to implement to create a new directory in a specified path and....?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to implement to create a new directory in a specified path and....?


  • Subject: RE: How to implement to create a new directory in a specified path and....?
  • From: Chris Gardner <email@hidden>
  • Date: Mon, 18 May 2009 16:40:48 +0800
  • Importance: Normal



NSString * cPathName;// cPathName is your specified path



NSFileManager *fm = [NSFileManager defaultManager];
 [fm createDirectoryAtPath:cPathName withIntermediateDirectories:TRUE attributes:nil error:nil];



with which you can create any folder.




> Date: Mon, 18 May 2009 16:34:24 +0800
> From: email@hidden
> To: email@hidden
> Subject: How to implement to create a new directory in a specified path and....?
>
> Hi ,all
> I completed an application about tableview and audio files. Allow you to drag audio files into the tableview .
> It will play the audio file if you double click the tableview's cell.
> Now, I want to implement this result. When I drag and drop a sound file into the tableview, I want
> the App to create a new directory in a specified path and copy the audio file into the directory.
> In other words, I want to create a library to store my audio file. How to implement it?
> Thank you.
> Bright
>
>
> _______________________________________________
>
> 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

_________________________________________________________________
Show them the way! Add maps and directions to your party invites.
http://www.microsoft.com/windows/windowslive/products/events.aspx
_______________________________________________

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

References: 
 >How to implement to create a new directory in a specified path and....? (From: Bright <email@hidden>)

  • Prev by Date: How to implement to create a new directory in a specified path and....?
  • Next by Date: Positioning of autocomplete popups
  • Previous by thread: How to implement to create a new directory in a specified path and....?
  • Next by thread: Positioning of autocomplete popups
  • Index(es):
    • Date
    • Thread