Re: If Statements In Objective C For IOS Development

2013-06-15 Thread Jens Alfke
On Jun 15, 2013, at 7:53 AM, Harmony Neil wrote: > I've tried running the app, and xcode is complaining about the t1, t2 and t3 > things in the if statement … Something about identifiers. Any time you ask a question about an error or exception, you should include the actual text. (You can get

Re: If Statements In Objective C For IOS Development

2013-06-15 Thread Kevin Muldoon
I may not be reading this right, but it looks like you're doing math calc on the objects, rather than the values within the objects. See if this works for you… - (IBAction)nextButtonAction:(id)sender { int textFieldOneTextAsInteger = [self.textFieldOne.text integerValue]; int textFi

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