Sending stdout to NSTextView

Discussion in 'Mac Programming' started by Fedge, May 21, 2008.

  1. Fedge macrumors regular


    Aug 9, 2006
    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?
  2. adrian.oconnor macrumors 6502

    Jan 16, 2008
    Nottingham, England

Share This Page