CKSyncEngine and desiredKeys

I have a CKRecord that references an CKAsset. If I understand it correctly, CKSyncEngine would download the asset every time the record has changed on the server. (Of course it would try to use the local asset cache, but worst-case it might be already flushed)

The documentation for CKAsset says that asset downloads can be prevented by limiting the requested record keys using the desiredKeys property on the fetch operation. But I don't see any possibility to set this property when using CKSyncEngine.

Did I miss something? Are there any alternatives?

You did not, please feel free to file an enhancement request.

Thanks! I've filed it (FB15526915).

I wonder what a good workaround could be: For now I think one could store the actual asset into a separate record so it won't be notified if other properties change.

Do you see any other workarounds?

CKSyncEngine and desiredKeys
 
 
Q