In creating a NSFileAccessIntent with the writingIntent method, why does NSFileCoordinator.WritingOptions not have an option for creating? I need to create a directory in the ubiquity directory. There is an intent for replacing and one for moving. Is this to say that to create a directory in the ubuquity directory I have to create it locally first and then move it to the ubiquity directory?
From the docs of NSFilePresenter: "The
NSFileCoordinator class coordinates the reading and writing of files and directories among multiple processes and objects in the same process."I would say that for a directory that does not yet exist, there is nothing to coordinate. So you don't need a NSFileCoordinator at all. Just create it and that's it.
Dirk