• 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: renaming directories and moving files into them (NSFileManager)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: renaming directories and moving files into them (NSFileManager)


  • Subject: Re: renaming directories and moving files into them (NSFileManager)
  • From: Ken Thomases <email@hidden>
  • Date: Mon, 18 Apr 2011 03:15:07 -0500

On Apr 18, 2011, at 12:56 AM, Andy Lee wrote:

> * What if you don't use NSFileManager to rename the directory, but rename([shootPath UTF8String], [newShootPath UTF8String])?

Minor quibble: Use -fileSystemRepresentation to get C strings for BSD/POSIX APIs working with file paths.

Cheers,
Ken

_______________________________________________

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: 
 >renaming directories and moving files into them (NSFileManager) (From: Scott Anguish <email@hidden>)
 >Re: renaming directories and moving files into them (NSFileManager) (From: Andy Lee <email@hidden>)
 >Re: renaming directories and moving files into them (NSFileManager) (From: Scott Anguish <email@hidden>)
 >Re: renaming directories and moving files into them (NSFileManager) (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: Proper way to create a singleton without @synchronized ?
  • Next by Date: Re: Proper way to create a singleton without @synchronized ?
  • Previous by thread: Re: renaming directories and moving files into them (NSFileManager)
  • Next by thread: Re: renaming directories and moving files into them (NSFileManager)
  • Index(es):
    • Date
    • Thread