• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: console output -> NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Using NSThread (was: console output -> NSTextView)
      • From: Koen van der Drift <email@hidden>
    • Re: console output -> NSTextView
      • From: Koen van der Drift <email@hidden>
References: 
 >console output -> NSTextView (From: Koen van der Drift <email@hidden>)

  • Prev by Date: Re: How to upload dictionary to online URL
  • Next by Date: Re: Drag and stupid Drop in NSTableView
  • Previous by thread: console output -> NSTextView
  • Next by thread: Re: console output -> NSTextView
  • Index(es):
    • Date
    • Thread