• 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: Strange NSFileManager file replacement issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange NSFileManager file replacement issue


  • Subject: Re: Strange NSFileManager file replacement issue
  • From: Sixten Otto <email@hidden>
  • Date: Fri, 19 Aug 2011 07:07:39 -0700

On Thu, Aug 18, 2011 at 10:14 PM, Quincey Morris <
email@hidden> wrote:

> a. What version of iOS did this fail on?
>

The 4.3 simulator (running on Snow Leopard, Xcode 4.0.2).


> b. Can you assert that the receiver of the 'replace…' method is not nil?
> (If it was nil, the method call would behave exactly as you describe.)
>

Good thing to check, but since it's returning YES for the -fileExistsAtPath:
calls, and works in some of the other cases, I doubt that the NSFileManager
is nil.


> c. Can you show us the actual line of code that does the replacement?
>

I'll post my code when I get in to the office. (I got about this far before
I had to leave last night.)

Sixten
_______________________________________________

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: 
 >Strange NSFileManager file replacement issue (From: Sixten Otto <email@hidden>)
 >Re: Strange NSFileManager file replacement issue (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Specify valid values for a Core Data attribute
  • Next by Date: Re: Strange NSFileManager file replacement issue
  • Previous by thread: Re: Strange NSFileManager file replacement issue
  • Next by thread: Re: Strange NSFileManager file replacement issue
  • Index(es):
    • Date
    • Thread