Returns a new aggregate expression for a given collection.
SDKs
- iOS 3.0+
- macOS 10.5+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
init(forAggregate subexpressions: [NSExpression])
Parameters
collection
A collection object (an instance of
NSArray
,NSSet
, orNSDictionary
) that contains further expressions.
Return Value
A new expression that contains the expressions in collection
.