I use a common class in iOS and Desktop / web App that i need to assign a Text format, but from Textfield and some other Controls in the Desktop and Web app, i can't use directly the Text from the Control because it's a string. I'm trying to superclass it, but «Text» is a Keyword
MyModelClass.APropertyText as text = TextField.Text as string
i can't use .Text.ToText (because i would need to add that to 1100 other Controls)
I was wondering if is there a way to superclass the .Text
superclassTextField.Text as Text
do the conversion..