My app will be used in different countries, so we get localization parameters from API. For strings which have not got any parameters like %@, %d
etc, there is no problem. But I cannot find any solution for a string with parameters.
For instance, is the service give me string like
"Your entered email must be at least %d character and maximum %d character" or it will have %@ parameters.
On a client, I know the giving parameters number because ı know its usage label or text field but cannot do any algorithm like String with format method.
[NSString stringWithFormat:[string from service metod],%d,%d]; ---- xcode gives error for %d..