the availableDate part is not working properly I think??
NSFileManager *filey = [NSFileHandle fileHandleForReadingAtPath:savedTextMsg];
NSString *tMessage=[[NSString alloc] initWithData:[filey availableData] encoding:NSUTF8StringEncoding];
No visible @interface for NSFileManager declares the selector availableData is the error message..
What does that mean exactly?
Thanks
Mat
-fileHandleForReadingAtPath:returns anNSFileHandler, so you need to change the first line toThe error message occures because you declared
fileyto be an instance ofNSFileManager, and that class does not declare a method-availableData.