I am working on an application with some calculation function. I have UITextFieldwhere the user enters a number and UILabelwhere the result. How can I display the text in the second UILabeldepending on the number in the first UILabel?
Example:
If number in *firstLabel less than 20, then display in *secondLabel: small
If number in *firstLabel from 20 to 30, then display in *secondLabel: normal
If number in *firstLabel greater than 40, then display in *secondLabel: big
I hope you understand what I mean. Thank! Sorry for my English.
source
share