Thanks for your answer. I've tried this before, but it does not work either:
let result = context.model(for: id) as? Activity
#expect(result?.isDeleted == true)
// Expectation failed: (result?.isDeleted → false) == true
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: