Re: Problems running UNIX Apps in Cocoa GUI
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.