RLMRealm

extension RLMRealm

/////////////////////////////////////////////////////////////////////////

  • Returns the schema version for a Realm at a given local URL.

    See

    + [RLMRealm schemaVersionAtURL:encryptionKey:error:]

    Declaration

    Swift

    @nonobjc
    public class func schemaVersion(at url: URL, usingEncryptionKey key: Data? = nil) throws -> UInt64
  • Returns the same object as the one referenced when the RLMThreadSafeReference was first created, but resolved for the current Realm for this thread. Returns nil if this object was deleted after the reference was created.

    See

    see - [RLMRealm resolveThreadSafeReference:]

    Declaration

    Swift

    @nonobjc
    public func resolve<Confined>(reference: RLMThreadSafeReference<Confined>) -> Confined? where Confined : RLMThreadConfined