• 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: Sherm Pendley <email@hidden>
  • Date: Tue, 9 Aug 2005 20:04:45 -0400

On Aug 9, 2005, at 2:41 PM, Scott Mitchell wrote:

[outFile retain];
isWritten = [outData writeToFile:outFile atomically:YES];
[outFile release];

Completely unrelated, but what's up with the retain/release above? If outData needed to retain the string you give it, it would do so itself.


sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
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


References: 
 >NSData writeToFile:atomically not working right?? (From: Scott Mitchell <email@hidden>)

  • Prev by Date: Re: Storing QTMovie in a database
  • Next by Date: Re: refreshObject:mergeChanges: vs. stale transient properties
  • Previous by thread: Re: NSData writeToFile:atomically not working right??
  • Next by thread: Re: NSData writeToFile:atomically not working right??
  • Index(es):
    • Date
    • Thread