Re: is Shane's advice being collated?
Re: is Shane's advice being collated?
- Subject: Re: is Shane's advice being collated?
- From: Shane Stanley <email@hidden>
- Date: Thu, 20 Nov 2014 09:56:55 +1100
On 20 Nov 2014, at 1:47 am, Alex Zavatone <email@hidden> wrote:
>
> Shane what would your executive summary be for "why we should care about ASObjC as opposed to sticking with AS or learning Cocoa?"
Interesting question.
If you want to write full-blown apps, no question: go Objective-C. It's faster, there are better tools for debugging it, and anything more than relatively simple interfaces means you're going to be in Xcode anyway. A lot of people who start out writing Xcode-based ASObjC projects end up moving to Objective-C. (And I think that's a great result, BTW; ASObjC is often the stepping stone they need to gain the confidence to go further.)
But ASObjC is now *part* of AppleScript. In fact, it's the only built-in way to do a couple of things. It's fast. Because it's basically a layer between AS and Objective-C, it's robust -- you don't tend to get surprises like delay no longer working, or Database Events no longer working, because the underlying APIs are relied on (and tested) by a lot more than just a bunch of scripters.
And interfaces aside, for all the talk of complex Cocoa APIs, I don't believe understanding basics like NSString, NSArray, NSFileManager and a handful of others is particularly difficult. I mean, it's not as if we're comparing it to something that's straight-forward -- it's just that many of us have become used to the eccentricities and foibles of AppleScript.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden