When I am saving data form a UITextView to a plist the data is saved except the last letter typed into the UITextView. I'm using:
Everything is saved except the last charter in the text field. Is the a bug or does someone else know the reason?
Thanks,
Josh
Code:
NSMutableArray *array = [[NSMutableArray alloc} init];
[array addObject:objectname];
[array addObject:objectname2];
[array addObject:objectname3];
//ect
[array writeToFile:[self noteFile1] atomically:YES];
[aaray release];
Everything is saved except the last charter in the text field. Is the a bug or does someone else know the reason?
Thanks,
Josh