NSFileCoordinator correct usage
- by Johannes
when writing a file using NSFileCoordinator i need to specify to 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?
Greetings,
Johannes