RLMCollection

extension RLMCollection
  • Returns the index of the first object in the collection matching the predicate.

    Declaration

    Swift

    public func indexOfObject(where predicateFormat: String, _ args: CVarArg...) -> UInt
  • Returns all objects matching the given predicate in the collection.

    Declaration

    Swift

    public func objects(where predicateFormat: String, _ args: CVarArg...) -> RLMResults<NSObject>
  • Allows for subscript support with RLMDictionary.

    Declaration

    Swift

    public subscript(key: String) -> AnyObject? { get set }