WriteToFile:atomically: question
WriteToFile:atomically: question
- Subject: WriteToFile:atomically: question
- From: Mike Beam <email@hidden>
- Date: Fri, 10 Aug 2001 18:35:40 -0500
Hello All!
I'm having problems using NSArray's writeToFile:atomically: What I have is
a method - (BOOL)save that simple has the following code
- (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!
Mike Beam