reading rtfd files from CloudKit

My App reads and writes rtfd files. I read and write the files using fileWrapper.

What I want to do is write the rtfd files with CloudKit Dashboard.


However I cannot figure out how to read a rtfd file written by CloudKit Dashboard.


I even tried to get apple development support to help me but they were no help.


Any help you can give me would be appreciated.

Replies

I'm not familiar with RTFD but I did notice this:


https://developer.apple.com/documentation/foundation/nsattributedstring/1527502-rtfdfilewrapperfromrange?language=objc


If you do that before writing to CloudKit then that reduces the problem to your fileWrapper

As my question states. I know how to read and write rtfd files to CloudKit using file wrapper.


What I want to do read rtfd files from CloudKit written by CloudKit dashboard.