Querying iCloud Records

Hi all,

I am in the process of learning iCould using Swift. I am able to save records, but I m having problems getting documentation on how to query records.


The Appl documentation as seen here:

(https://developer.apple.com/library/archive/documentation/DataManagement/Conceptual/CloudKitQuickStart/FetchingRecords/FetchingRecords.html#//apple_ref/doc/uid/TP40014987-CH4-SW2)


is written in Obj-C. Where can I find some examples for Swift?


Thanks,

Dan Uff