RLMObject

extension RLMObject
  • Returns all objects of this object type matching the given predicate from the default Realm.

    See

    see + [RLMObject objectsWithPredicate:]

    Declaration

    Swift

    public class func objects(where predicateFormat: String, _ args: CVarArg...) -> RLMResults<RLMObject>
  • Returns all objects of this object type matching the given predicate from the specified Realm.

    See

    see + [RLMObject objectsInRealm:withPredicate:]

    Declaration

    Swift

    public class func objects(in realm: RLMRealm,
                              where predicateFormat: String,
                              _ args: CVarArg...) -> RLMResults<RLMObject>