The following functions are available globally.
Returns a Boolean indicating whether the errors are identical.
public func == (lhs: ErrorType, rhs: ErrorType) -> Bool
Returns the schema version for a Realm at a given local URL.
NSErrorthat describes the problem.
public func schemaVersionAtURL(fileURL: NSURL, encryptionKey: NSData? = nil) throws -> UInt64
Local URL to a Realm file.
64-byte key used to encrypt the file, or
nilif it is unencrypted.
The version of the Realm at
Performs the given Realm configuration’s migration block on a Realm at the given path.
This method is called automatically when opening a Realm for the first time and does not need to be called explicitly. You can choose to call this method to control exactly when and how migrations are performed.
The Realm configuration used to open and migrate the Realm.
NSErrorthat describes an error that occurred while applying the migration, if any.