I want the user to input a string and then assign the input to an NSString. Right now my code looks like this:
NSString *word; scanf(\"%s\", &word); >
scanf does not work with any object types. If you have a C string and want to create an NSString from it, use -[NSString initWithBytes:length:encoding:].
scanf
-[NSString initWithBytes:length:encoding:]