• 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: how do I create a console window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how do I create a console window?


  • Subject: Re: how do I create a console window?
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Tue, 30 Sep 2003 13:10:20 +0200

At 12:11 Uhr +0200 30.09.2003, roberto toro wrote:
I would like to have a window in my document based application
to output printfs and the like... much as the console window in
project builder.

You'd have to do two things:

1) Use Unix APIs to redirect stdout to somewhere else
2) Use a scrolling NSTextView with a monospaced font like Monaco to output the data.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.
References: 
 >how do I create a console window? (From: roberto toro <email@hidden>)

  • Prev by Date: Re: Safari under the mouse?
  • Next by Date: Re: Cocoa graphics speed
  • Previous by thread: how do I create a console window?
  • Next by thread: Re: Using NSImage/NSBitmapImageRep stuff in command line tools
  • Index(es):
    • Date
    • Thread