when writing a file using NSFileCoordinator i need to specify the correct NSFileCoordinatorWritingOptions. Although they are explained in detail, I am not sure when to use which one. The available options are:
- NSFileCoordinatorWritingForDeleting
- NSFileCoordinatorWritingForReplacing
- NSFileCoordinatorWritingForMoving
- NSFileCoordinatorWritingForMerging
For example, what option is the correct one if I want to create a file (a plist for example)? Wich one when I modify a file?
Can someone explain the NSFileCoordinatorWritingOptions for a better understanding?