I am filtering records from cloudkit based on the user's location. When he moves, CKRecord gets updated and so does UITableView. So far all perfect.
The issue is when the user moves to an area where there are no records and the CKRecord returns nil. When this happens, instead of UITableView displaying nothing, it actually shows the last records that were available before nil.
I would like the table to show something like "No records" or at least nothing at all.
Any ideas?