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 multiplied by t3 is less than t1 the text on the label to say something else and if it is the same, say something else. However xcode doesn't like my if statement. it's complaining about the line: if (t2*t3>t1) { self.label.text=@"1 bit of text for example"; }
I've tried running the app, and xcode is complaining about the t1, t2 and t3 things in the if statement … Something about identifiers. The way I got round it before was to have 1 label showing the result of t2 multiplied by t3, then another label saying the text that I wanted, but I really want to make it tidier this time around. Can anyone help me fix this? And I didn't say can anyone suggest any books or whatever either. I'm tired of making my screen reader read long pages. Thanks for any code suggestions etc though, Harmony.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com