有没有办法知道在使用领域通知时更新或创建了哪个实例?

Is there a way to know which instance was updated or created when using Realm Notifications?

每次提交写入事务时,Realm 实例都会向其他线程上的其他实例发送通知。这些通知可以通过注册一个块来观察:

// Observe Realm Notifications
self.token = [realm addNotificationBlock:^(NSString *note, RLMRealm * realm) {
    [myViewController updateUI];
}];

有没有办法知道在使用 Realm Notifications 时更新或创建了哪个实例?我有解决方法,但如果可能的话会更好。

正如 Mazyod 在评论中所解释的那样,这确实还不可用。
我们将其跟踪为 #601 Fine-grained notifications。您可以订阅本期以了解我们的进一步进展。