ArrowTransformer
open class ArrowTransformer<Type> : Transformer, KeyPathTransformer where Type : ArrowParsable
Uses Arrow to transform a given object of type AnyObject? into an object of target type, Type.
-
Default Initialization.
Declaration
Swift
public init() -
Transforms the input type AnyObject? and returns
Typeas output.Declaration
Swift
public func transform(_ input: IType) -> OTypeParameters
inputThe object to be transformed.
Return Value
Type -
Transforms the input type AnyObject? and returns
Typeas output.Declaration
Swift
open func transform(_ input: AnyObject?, keyPath: String?) -> Type?Parameters
inputThe object to be transformed.
keyPathIf input type allows, use the given key path as the root object.
Return Value
Type
View on GitHub
ArrowTransformer Class Reference