Initializer

init(expressionType:)

Initializes the expression with the specified expression type.

Declaration

init(expressionType type: NSExpression.ExpressionType)

Parameters

type

The type of the new expression, as defined by NSExpression.ExpressionType.

Return Value

An initialized NSExpression object of the type type.

Discussion

This method is the designated initializer for NSExpression.

See Also

Initializing an Expression

init(format: String, argumentArray: [Any])

Initializes the expression with the specified expression format and array of arguments.

init(format: String, arguments: CVaListPointer)

Initializes the expression with the specified expression format and arguments list.