Can someone show a quick example on how to use NSTask and NSPipe in conjunction to do this:
Charlie AI - run through terminal to comunicate with the AI
I want to create a nice GUI for it using xcode and objective c. I want to have 2 NSTextFields for the charlie's response and user input. Then have a send button to send the user input to the command line, then get the charlie's response and post it in the NSTextField.
I can handle the GUI stuff (NSTextField, ect.) But I need help with the objective-c coding part.
Thanks!
Elijah