MBMLFunctionInputType Constants Reference
Declared in | MBMLFunction.h |
---|
MBMLFunctionInputType
Specifies the type of input an MBMLFunction
implementation expects.
Definition
typedef NS_ENUM(NSUInteger, MBMLFunctionInputType ) {
MBMLFunctionInputUnset = 0,
MBMLFunctionInputNone,
MBMLFunctionInputRaw,
MBMLFunctionInputString,
MBMLFunctionInputObject,
MBMLFunctionInputMath,
MBMLFunctionInputPipedExpressions,
MBMLFunctionInputPipedStrings,
MBMLFunctionInputPipedObjects,
MBMLFunctionInputPipedMath,
MBMLFunctionInputDefault = MBMLFunctionInputObject,
};
Constants
MBMLFunctionInputUnset
-
The function input type hasn’t yet been set. Used as an initial value when processing MBML
<Function>
declarations.Declared In
MBMLFunction.h
. MBMLFunctionInputNone
-
The function accepts no input parameters. The implementing method should take no parameters.
Declared In
MBMLFunction.h
. MBMLFunctionInputRaw
-
The function accepts a single uninterpreted string as input. The string is passed as-is to the implementing method.
Declared In
MBMLFunction.h
. MBMLFunctionInputString
-
The function accepts a Mockingbird string expression as input. The expression will be evaluated and the resulting
NSString
will be passed to the implementing method.Declared In
MBMLFunction.h
. MBMLFunctionInputObject
-
The function accepts a Mockingbird object expression as input. The expression will be evaluated and the resulting
NSObject
will be passed to the implementing method.Declared In
MBMLFunction.h
. MBMLFunctionInputMath
-
The function accepts a Mockingbird math expression as input. The expression will be evaluated and the resulting
NSNumber
will be passed to the implementing method.Declared In
MBMLFunction.h
. MBMLFunctionInputPipedExpressions
-
The function accepts zero or more pipe-separated Mockingbird expressions as input. Each individual expression is passed to the implementing method as an element in an
NSArray
The function implementation is responsible for evaluating the expressions.Declared In
MBMLFunction.h
. MBMLFunctionInputPipedStrings
-
The function accepts zero or more pipe-separated Mockingbird string expressions as input. Each individual expression is evaluated and the resulting
NSString
s are passed to the implementing method in anNSArray
.Declared In
MBMLFunction.h
. MBMLFunctionInputPipedObjects
-
The function accepts zero or more pipe-separated Mockingbird object expressions as input. Each individual expression is evaluated and the resulting
NSObject
s are passed to the implementing method in anNSArray
.Declared In
MBMLFunction.h
. MBMLFunctionInputPipedMath
-
The function accepts zero or more pipe-separated Mockingbird math expressions as input. Each individual expression is evaluated and the resulting
NSNumber
s are passed to the implementing method in anNSArray
.Declared In
MBMLFunction.h
. MBMLFunctionInputDefault
-
The function input type used by default:
MBMLFunctionInputObject
.Declared In
MBMLFunction.h
.
Declared In
MBMLFunction.h