xcode - Is there a way to save a "." file using NSSavePanel without MacOS warning me? -
xcode - Is there a way to save a "." file using NSSavePanel without MacOS warning me? -
i'm working on cocoa project. project uses preferences menu, , includes alternative save set of preferences "." file (hidden files .rvmrc or .vimrc). problem after bringing nssavepanel , clicking save scheme pops , reminds me "." reserved system, isn't cool.
is there way prevent os firing prompt?
thanks!
you can subclass or create category of nssavepanel , override
-[nssavepanel _legalnamecheck:] afaik, checking dot name routine does.
xcode cocoa
Comments
Post a Comment