Re: Right language
Re: Right language
- Subject: Re: Right language
- From: Arnold Nefkens <email@hidden>
- Date: Sun, 30 Nov 2008 09:15:42 +0100
Ok thank you, I did indeed mean Objective-C as the language. I do not
have the lingo down yet...
To access a Directory you have to use dscl to gain the access to
needed data. So I'm stuck in using a shell application to get the
right information out of the directory.
Thanks anyway. I'll look into it and try somethings out..
---
Arnold Nefkens
Nefkens Advies
email@hidden
Apple Certified Systems Administrator
Apple Certified Technical Coördinator
Apple Certified Support Professional
Apple Certified Macintosh Technician
On 30 nov 2008, at 05:25, Michael Ash wrote:
On Sat, Nov 29, 2008 at 5:30 AM, Arnold Nefkens <email@hidden
> wrote:
Hello List,
I'm pretty new to Cocoa and just started with "Cocoa Programming
for Mac OS
X (3rd ed)" of Aaron Hillegass.
I've got an idea for a app that uses a lot of shell commands to get
certain
information. But I also want to use Interface builder to provide
the users
the right interface. I'm wondering if Cocoa is right language to
build this
application. I've thought about AppleScript Studio. But I want to
be able to
use something like eSellarate as well.
What are your opinions about this? Should I build the application
using
Cocoa or look into perhaps Ruby or some other language?
As to AppleScript, I'm of the opinion that for essentially any task
which cannot be accomplished in 5 lines or less, AppleScript is never
the right language.
Note that Cocoa is not a language. Cocoa is a set of libraries. They
can be accessed from many different languages. The primary language is
Objective-C, but Cocoa can also be used from Ruby, Python, and many
others.
If by Cocoa you mean Objective-C, I see no reason why it would be
unsuitable for this task. But try it out and see for yourself.
On another note, it's generally a bad idea to invoke shell tools.
Sometimes you have no choice, but you should look for ways to access
the information you need directly in code instead.
Mike
_______________________________________________
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
_______________________________________________
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