If Statements In Objective C For IOS Development

2013-06-15 Thread Harmony Neil
Hellow, I've been rewriting my IOS app (mainly because I had to) and got my 3 text fields: t1, t2, and t3 being what I'm calling them. I've also got a label on there. What I want to do is have it so that if t2 multiplied by t3 is greater than t1 the text on the label says one thing, if t2 mult

Dismissing The Keyboard

2013-05-22 Thread Harmony Neil
Hellow, I'm using the numberpad for entering text in the textFields in my iPhone app which is fine, but for some reason I've resigned firstResponder to all the textFields so I can dismiss the keyboard when I press the calculate button, but when I press said button, the keyboard just stays on the

Creating More Than 1 Of The Same Element/control

2013-05-22 Thread Harmony Neil
Hellow, I've been working through a couple of tutorials and managed to make a text field and things just fine. The thing I'm wondering is how do I go about naming the textField what I want to call it, like textField1 or for example rather than just textField? Also, how do I make more than 1 te