is there a way to do if then statements in xcode such as in when you type a command into a UITextField is there a way to say if the command is not found that it could do something like a UIAlertView.
Well attempt it, then when you get stuck post your code and we can see how to help you
if you don't attempt it first then its a bad way to learn and you arn't really learning just asking someone to do it for you for free
look at how to make an alert,
and look at how you check what is entered into a text field
then you are pretty much done already