Hi, I am new to the iOS. I need to create an App that entering into two text fields (1 and 2) two different codes (A and AA), give me an output in a label.
in the first text field you must enter a code A, which corresponds to a single code (AA). I want once you click the OK button, the app compares the code in between those in it and in case of mismatch gives an error message in the label or allert (such as a switch in C). In the case A is a code present, pass to compare the code A to AA (such as a IF in C). In the case of non-correspondence gives an error message in label or allert. In case of a match just give a "messageA" assigned to the combination of codes A and AA in label1( such as a PRINT in C).
In my app there are about 1000 codes of type A which correspond to 1000 codes AA. For each combination corresponds to a "messageA".