I’ve got a quick question; I want to convert the text in a textfield to an unsigned integer, and here’s what I do:
uint nmbr = [textfield.text intValue];
will objective-c implicitly cast and interpret nmbr as an unsigned int or is there another way to do this?
Yes it will implicitly cast the return value to an unsigned int. Just be aware that you will get an unexpected unsigned value if your text field contains a negative number (e.g. -1 will give you 4294967295).