You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Swift implementation of RKCLLocationValueTransformer ? #31
I am using RestKit in my swift project and I need value transformers for a particular use case. I was trying to write this in swift as below just as a simple upper case transformer.
functransformValue(_inputValue:Any?,toValueoutputValue:Any?,ofoutputValueClass:AnyClass)throws->Bool{varoutputValue=outputValueifoutputValueClass is String.Type{outputValue=(inputValueas?String)?.uppercased()}returntrue}
When I do this, I get this error RKValueTransformer subclasses must provide a concrete implementation of 'transformValue:toValue:ofClass:error:'
Activity