2

I use an NSSavePanel to ask users to indicate the file to which they want to save some information. If they choose an existing file I'd simply append the new information to the end. The issue is that OS X would give the following message:

“new-file.txt” already exists. Do you want to replace it?

And I can't find a way to change this message. Is there a way to do this?

jtbandes
  • 115,675
  • 35
  • 233
  • 266
saiwing
  • 650
  • 7
  • 13
  • Did you look into the validation methods of the delegate protocol? Never worked with this but it sounds like the validation message you see is the default implementation if a validation delegate method is not implemented. – pco494 Apr 03 '16 at 12:57
  • I will take a look, thanks! – saiwing Apr 06 '16 at 13:19
  • @saiwing I know that post is old. But did you find solution to this problem? I recently came across on the same problem – Alex Aparin Nov 23 '21 at 11:02
  • Nope, sorry. But I also haven't looked into this for years. – saiwing Nov 23 '21 at 20:28

0 Answers0