• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: File copying not copying...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Icon for prefPane bundle?
  • Next by Date: How to detect drag on a single cell in a NSTableView?
  • Previous by thread: Re: File copying not copying...
  • Next by thread: weird drawing problem with NSImage
  • Index(es):
    • Date
    • Thread