• 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: NSData writeToFile:atomically not working right??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSData writeToFile:atomically not working right??


  • Subject: Re: NSData writeToFile:atomically not working right??
  • From: Jack <email@hidden>
  • Date: Tue, 09 Aug 2005 23:44:24 +0200

Add an NSLog and give us the path it reports, that way we don't have to
guess at what your problem might be.

/*New line*/ NSLog(@"%@", outFile);
outFile = [outFile stringByExpandingTildeInPath];
BOOL isWritten = [outData writeToFile:outFile atomically:YES];

> When I call this isWritten comes back as YES (meaning the file was
> written but when I go and look at the path of where it is to be
> written, the file is not there????

Jack Frost
http://www.bruji.com/


 _______________________________________________
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

  • Prev by Date: Dependent properties must be denormalized to use in a fetch request?
  • Next by Date: Compressed resources
  • Previous by thread: Re: NSData writeToFile:atomically not working right??
  • Next by thread: Helpbooks
  • Index(es):
    • Date
    • Thread