Re: WriteToFile:atomically: question
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"