Hi,
it might be a silly question but i've just started learning Objective-C.
My question is how do you get input from a user after initializing an object of NSString type.
i.e say i've initialized
i want the user to enter the value for Name. can i use a scanf?
I've tried googling but to no avail.
Thanks!
it might be a silly question but i've just started learning Objective-C.
My question is how do you get input from a user after initializing an object of NSString type.
i.e say i've initialized
Code:
NSString *name;
name = [[NSString alloc] init] ;
i want the user to enter the value for Name. can i use a scanf?
I've tried googling but to no avail.
Thanks!