• 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: Shell tool with GUI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell tool with GUI


  • Subject: Re: Shell tool with GUI
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 8 Dec 2008 09:13:37 -0700


On Dec 7, 2008, at 10:57 PM, Chris Hiszpanski wrote:

- How can I create a window without creating a full fledge application (i.e. without creating an instance of NSApplication)?

While not technically supported, you can use anything in the AppKit after calling NSApplicationLoad() once.


- What is the difference between a Cocoa Shell Tool and a Cocoa Application? Can a Cocoa Shell Tool draw GUI objects, or is it restricted to text in the shell?

The latter are bundles; the former are not (and are linked only to the Foundation framework by default).


- How can I read standard input? With the NSFileHandle class? I see fileHandleWithStandardInput is a class method there, but not an instance method...

I'd just use scanf() here unless you have a really good reason not to do that.


- How can I draw an oscilloscope type "animation"? With the drawRect method of my own class that inherits from NSView?


Yes.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Shell tool with GUI
      • From: "I. Savant" <email@hidden>
References: 
 >Shell tool with GUI (From: Chris Hiszpanski <email@hidden>)

  • Prev by Date: Re: Shell tool with GUI
  • Next by Date: Re: Shell tool with GUI
  • Previous by thread: Re: Shell tool with GUI
  • Next by thread: Re: Shell tool with GUI
  • Index(es):
    • Date
    • Thread