Hi I am making a program that gets input from the keyboard and I was wondering if there was any way to get input from the keyboard and store it in an NSString o
NSString
Why not this?
NSFileHandle *kbd = [NSFileHandle fileHandleWithStandardInput]; NSData *inputData = [kbd availableData]; NSString *option = [[NSString alloc] initWithData:inputData encoding:NSUTF8StringEncoding];