The key path for accessing the sample’s quantity.
- iOS 8.0+
- Mac Catalyst 13.0+
- watchOS 2.0+
Use this constant whenever you want to include a sample’s quantity in a predicate format string. Add a
%K placeholder to the format string, and then pass this constant as an argument.
Alternatively, use the
predicate method to create predicates that match a sample’s quantity.