Interesting sample. I'll have to do some experimentation with it. In one of his comments, he states the following: "The purge API posts an NSPersistentStoreRemoteChange notification after finishing its job, so observe the notification to update the UI if necessary." (line 104 of PersistenceController+Share.swift)
But in my own experience, this was not true. That was the issue I was having that led me to the other solutions I came up with. Maybe they've changed things to fix that now, in which case my solution would no longer be necessary.