RE: File copying not copying...
RE: File copying not copying...
- Subject: RE: File copying not copying...
- From: Lorenzo Puleo <email@hidden>
- Date: Sat, 13 Apr 2002 11:39:23 +0200
Hi,
to create an error message if the file can't be found, you can do this:
if ([[NSFileManager defaultManager] fileExistsAtPath:theFilePath] == NO){
NSRunAlertPanel(@"Warning:", @"File not found.", @"OK", nil, nil);
return NSTerminateCancel;
}
--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.