Re: console output -> NSTextView
Re: console output -> NSTextView
- Subject: Re: console output -> NSTextView
- From: Scott Anguish <email@hidden>
- Date: Sun, 30 May 2004 01:21:39 -0400
On May 29, 2004, at 11:28 PM, Koen van der Drift wrote:
Maybe I can replace all the printf calls with myPrintf, which then
uses a Notification that is picked up by the window controller which
passes the data to the NSTextView. Not sure if this will work, because
the number of arguments for the printf calls is not always the same.
if you're replacing the printf calls with your own routine, why not
just replace it with a macro that creates a new NSString using the
format passed to it, and then calls a routine that directly inserts the
new string at the end of a text view?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.