RLMNotificationToken
@interface RLMNotificationToken : NSObject
A token which is returned from methods which subscribe to changes to a Realm.
Change subscriptions in Realm return an RLMNotificationToken which can be used
to unsubscribe from the changes. You must store a strong reference to the token
for as long as you want to continue to receive notifications. When you wish to
stop, call the -stop
method.
-
Stop receiving notifications for the subcription that returned this token.
Declaration
Objective‑C
- (void)stop;
Swift
func stop()