• 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: Problems running UNIX Apps in Cocoa GUI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems running UNIX Apps in Cocoa GUI


  • Subject: Re: Problems running UNIX Apps in Cocoa GUI
  • From: Ondra Cada <email@hidden>
  • Date: Mon, 25 Mar 2002 11:47:09 +0100

On Monday, March 25, 2002, at 04:35 , Alberto wrote:

Could anybody else help ? I'd like, with this little work, develop a SAMPLE
for people that want develop Aqua GUI for UNIX command line Applications.

First learn something, then try to teach.

1) execute command-line commands or applications, from Aqua; (+/- OK)

There's a very comprehensive NSTask documentation, no samples needed actually. For the somewhat more complicated stuff of re-directing stdin/stdout/stderr there is a lot of them anyway, plus lenghty threads here (mainly focused on buffering, which might be a problem indeed).

2) read and/or write txt files, from Aqua; (+/- OK)
3) read and/or write txt files (specific lines or words in the txt file),
from Aqua. (-)

Incredibly simple with NSString and (for some help with paths and finding files of needed) NSFileManager and NSBundle. Again, documentation is clean and concise, and readily available. I believe there are some examples too,
but frankly I nor anybody other I know checked, since they are not needed at all.

And incidentally, you can't do anything "from Aqua", since Aqua is just a name of a graphical look and feel (with plenty pretty well defined standards for buttons etc.). What you meant was "from Cocoa".
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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:
    • Re: Problems running UNIX Apps in Cocoa GUI
      • From: Alberto <email@hidden>
References: 
 >Problems running UNIX Apps in Cocoa GUI (From: Alberto <email@hidden>)

  • Prev by Date: Re: OpenGL and Z Buffering with cocoa
  • Next by Date: Re: Problems running UNIX Apps in Cocoa GUI
  • Previous by thread: Problems running UNIX Apps in Cocoa GUI
  • Next by thread: Re: Problems running UNIX Apps in Cocoa GUI
  • Index(es):
    • Date
    • Thread