Constants
The following constants are available globally.
-
Posted by RLMRealm when the data in the realm has changed.
DidChange are posted after a realm has been refreshed to reflect a write transaction, i.e. when an autorefresh occurs,
[RLMRealm refresh]is called, after an implicit refresh from[RLMRealm beginWriteTransaction], and after a local write transaction is committed.Declaration
Objective‑C
extern NSString *const RLMRealmRefreshRequiredNotification -
Posted by RLMRealm when a write transaction has been committed to an RLMRealm on a different thread for the same file. This is not posted if
[RLMRealm autorefresh]is enabled or if the RLMRealm is refreshed before the notifcation has a chance to run.Realms with autorefresh disabled should normally have a handler for this notification which calls
[RLMRealm refresh]after doing some work. While not refreshing is allowed, it may lead to large Realm files as Realm has to keep an extra copy of the data for the un-refreshed RLMRealm.Declaration
Objective‑C
extern NSString *const RLMRealmDidChangeNotification
-
Schema version used for uninitialized Realms
Declaration
Objective‑C
extern const uint64_t RLMNotVersioned -
Error domain used in Realm.
Declaration
Objective‑C
extern NSString *const RLMErrorDomain -
Key for name of Realm exceptions.
Declaration
Objective‑C
extern NSString *const RLMExceptionName -
Key for Realm file version.
Declaration
Objective‑C
extern NSString *const RLMRealmVersionKey -
Key for Realm core version.
Declaration
Objective‑C
extern NSString *const RLMRealmCoreVersionKey -
Key for Realm invalidated property name.
Declaration
Objective‑C
extern NSString *const RLMInvalidatedKey
View on GitHub
Install in Dash
Constants Reference