Structs

The following structs are available globally.

  • A SortDescriptor stores a key path and a sort order for use with sorted(sortDescriptors:). It is similar to NSSortDescriptor, but supports only the subset of functionality which can be efficiently run by Realm’s query engine.

    See more

    Declaration

    Swift

    public struct SortDescriptor
  • A SyncConfiguration represents configuration parameters for Realms intended to sync with a Realm Object Server.

    See more

    Declaration

    Swift

    public struct SyncConfiguration
  • A SyncCredentials represents data that uniquely identifies a Realm Object Server user.

    See more

    Declaration

    Swift

    public struct SyncCredentials