Type Method

expressionForAggregate:

Returns a new aggregate expression for a given collection.

Declaration

+ (NSExpression *)expressionForAggregate:(NSArray<NSExpression *> *)subexpressions;

Parameters

collection

A collection object (an instance of NSArray, NSSet, or NSDictionary) that contains further expressions.

Return Value

A new expression that contains the expressions in collection.

See Also

Creating a Collection Expression

+ expressionForUnionSet:with:

Returns a new NSExpression object that represent the union of a given set and collection.

+ expressionForIntersectSet:with:

Returns a new NSExpression object that represent the intersection of a given set and collection.

+ expressionForMinusSet:with:

Returns a new NSExpression object that represent the subtraction of a given collection from a given set.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software