Type Method

expressionForIntersectSet:with:

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

Declaration

+ (NSExpression *)expressionForIntersectSet:(NSExpression *)left with:(NSExpression *)right;

Parameters

left

An expression that evaluates to an NSSet object.

right

An expression that evaluates to a collection object (an instance of NSArray, NSSet, or NSDictionary).

Return Value

A new NSExpression object that represents the intersection of left and right.

See Also

Creating a Collection Expression

+ expressionForAggregate:

Returns a new aggregate expression for a given collection.

+ expressionForUnionSet:with:

Returns a new NSExpression object that represent the union 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.