I'm developing an app where the user can choose between a text, the position where the output value of a string should be printed. Example: Normally when we print a string in the middle of a text we do this:
NSLog (@" Um texto com:%@", minhaVariavelString);
Or when we use a UITextField:
_meuTextField.text = [NSString stringWithFormat: @"Meu valor:%@.", minhaString];
Keeping the position of %@
fixed.
But I want to be able to give the user the ability to change the output position of the string in a text composition screen when the app is running.