Returns a predicate that matches all objects created by devices with the specified properties.
- iOS 9.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
A string specifying the device’s property. For a list of valid keys, see Valid Device Property Keys.
A set of strings. These strings represent the target property values.
A predicate that matches all objects created by a device whose specified property matches one of the allowed values.
Use this convenience method to create a predicate that finds all the objects saved by matching devices. These predicates let you match multiple values for a single property. For example, you can create a single predicate that matches a number of different
The following sample shows how to create a predicate that matches a list of device model names.