ios - textField Input String convert into UINT32 -
need little bit help. how save number textfield nsinteger variable?
i got propertys:
@property(weak, nonatomic) iboutlet uitextfield *textfieldport; @property nsinteger *porttemp; and want this:
_porttemp = _textfieldport.text; i need variable pass through
cfstreamcreatepairwithsockettohost(null, (__bridge cfstringref)address, port, null, &writestream); anyone idea?
it's easy mate, try this
_porttemp = [_textfieldport.text integervalue];
Comments
Post a Comment