Basic string and value functions in Objective-C for iPhone

Posted by David Maitland on Stack Overflow See other posts from Stack Overflow or by David Maitland
Published on 2010-04-11T21:25:46Z Indexed on 2010/04/11 21:33 UTC
Read the original article Hit count: 153

Filed under:
|
|

I have very little programming knowledge; only a fair bit in Visual Basic.

How do I take a value from a text field, then do some simple math such as divide the value by two, then display it back to the user in the same field?

In Visual Basic you could just do txtBoxOne.text = txtBoxOne.text / 2

I understand this question is more than one question and is very basic stuff, but I need to get my head out of Visual Basic and into where I should be :)

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone