• 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: WriteToFile:atomically: question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WriteToFile:atomically: question


  • Subject: Re: WriteToFile:atomically: question
  • From: Andreas Monitzer <email@hidden>
  • Date: Sat, 11 Aug 2001 01:56:50 +0200

On Saturday, August 11, 2001, at 01:35 , Mike Beam wrote:

- (BOOL)save
{
return [array writeToFile:path atomically:YES];
}

path and array are of course instance variables. Now, I call this method
from several IBAction methods. There is one in particular that crashes my
App with a signal 10 or signal 11 every time; it is wired up to a button
and the crashes still happen when I comment out all of the other code in
that action method. If I move [self save] to other parts of my code outside
of that action method, all is well. So that's my problem and its been
driving me nuts. Any suggestions would be greatly appreciated! Thanks!

Maybe path or array is autoreleased?

andy
--
"He was addicted to life. But we cured him"


  • Follow-Ups:
    • Re: WriteToFile:atomically: question
      • From: Mike Beam <email@hidden>
References: 
 >WriteToFile:atomically: question (From: Mike Beam <email@hidden>)

  • Prev by Date: OmniFrameworks
  • Next by Date: Re: OmniFrameworks
  • Previous by thread: WriteToFile:atomically: question
  • Next by thread: Re: WriteToFile:atomically: question
  • Index(es):
    • Date
    • Thread