0

I already implemented UIDocument functionality (contentsForType:error:, SaveToURL:forSaveOperation:completionHandler:, loadFromContents:ofType:error:) to store simple text files in iCloud.

How do I implement file coordination? What are the advantages? Do I need to perform changes on previous code for reading/writing operations?

Thanks!

Aнгел
  • 1,361
  • 3
  • 17
  • 32

1 Answers1

1

UIDocument already provides file coordination "for free". See the UIDocument documentation here for further advantages of using UIDocument: https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UIDocument_Class/index.html

Epaga
  • 38,231
  • 58
  • 157
  • 245