I've got a c++ backend that uses cout to display lots of messages on screen. I'd like to send/pipe all of these messages to an NSTextView in the same obj-c++ app. I'm reasonably new to Cocoa, so I've been having some trouble.
What's the easiest way to pipe stdout into my NSTextView?
What's the easiest way to pipe stdout into my NSTextView?