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 RealmCollection: RandomAccessCollection, LazyCollectionProtocol, CustomStringConvertible
  • Types of properties which can be used with the minimum and maximum value APIs.

    See

    min(ofProperty:), max(ofProperty:)

    Declaration

    Swift

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

    See

    sum(ofProperty:), average(ofProperty:)

    Declaration

    Swift

    public protocol AddableType