​​ ​

The Apple Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.


You can continue to find trusted guidance and support on the official Apple Support site. 


We want to thank the community members who have contributed their time and expertise to help others with their Apple products.


if statements??

Hi

Im new to Xcode and app development.


I believe If statements is kind of what i need, but happy to stand corrected if there is a better way.


What i want


is if a user inputs a figure between 1-10 in a text box a letter A appears in a Label

but

if they input a figure between 11-20 a letter B appears instead.


hope that makes sense and someone can help me.


Many thanks

Mark

Posted on Feb 22, 2013 4:23 PM

1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

if statements??

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.