Protocols

The following protocols are available globally.

  • A homogenous collection of Objects which can be retrieved, filtered, sorted, and operated upon.

    See more

    Declaration

    Swift

    public protocol RealmCollectionType: CollectionType, CustomStringConvertible
  • Types of properties which can be used with the minimum and maximum value APIs.

    See

    min(_:), max(_:)

    Declaration

    Swift

    public protocol MinMaxType
  • Types of properties which can be used with the sum and average value APIs.

    See

    sum(_:), average(_:)

    Declaration

    Swift

    public protocol AddableType