I'm learning C again, so that I really understand everything.
My objective is to get the value of a uitextfield input, which I know how to... and then based on each letter in order do something different.
So like if string[1] == a { NSLog(@"its a")}, if string[1] == b { NSLog(@"its a b")} and so on...
Now I know that strings are basically arrays. So if I'm correct, this should be possible, i just get the length of it, then do it for each one.. I'm just having trouble putting this into ObjC code. thanks.
My objective is to get the value of a uitextfield input, which I know how to... and then based on each letter in order do something different.
So like if string[1] == a { NSLog(@"its a")}, if string[1] == b { NSLog(@"its a b")} and so on...
Now I know that strings are basically arrays. So if I'm correct, this should be possible, i just get the length of it, then do it for each one.. I'm just having trouble putting this into ObjC code. thanks.