Initializer

init(forMinusSet:with:)

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

Declaration

init(forMinusSet left: NSExpression, with right: NSExpression)

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 subtraction of right from left.

See Also

Creating a Collection Expression

init(forAggregate: [NSExpression])

Returns a new aggregate expression for a given collection.

init(forUnionSet: NSExpression, with: NSExpression)

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

init(forIntersectSet: NSExpression, with: NSExpression)

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

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