Hi!
I have a small problem with iphone sdk. I have 4 values into my xib, 4 UITextField where I insert hostname, description, name and PORT. Port is numeric number (NSNUMBER). I must convert text (UITextField) into an NSNUMBER object but I don't know how. I try to do: NSNumber *temp = [[NSNumber alloc] initWithString:portTextField.text]; serverObj.port = temp;
but App crash. I haven't problems with NSString (description ecc.)
Thank you!