NSHipster/nshipster.com

Article Request: AppleScript vs. AppleScriptObjC, IPC vs. XPC?

geoff-nixon opened this issue · 1 comments

I'm more or less a long-time OS X hacker, but a beginning/intermediate coder (particularly with regard to Objective-C APIs).

I'm particularly intrigued by the idea of being able to use the wealth of Cocoa APIs from dynamic languages, applications and scripts. Since RubyCocoa, PyObjC and friends are now deprecated, it seems like this is would be "the suggested" way forward here. I confess I don't really understand fully what's happening in "AppleScriptObjC" — it seems to maybe be availing itself of XPCServices, but neither do I fully understand fully what XPC offers over older IPC routes like Apple Events.

I should note that while I've been pondering this for a while, I've largely been waiting for the revised version of this book to be released, and it appears it finally has. But before I drop $60 on two new ebooks, I'd love some perspective here, or whatever your thoughts are on this?

As you may have seen, CFHipsterRef includes a chapter on Inter-Process Communication, which has been published on NSHipster. It's not 100% what you were asking for, but hopefully you enjoy it all the same. Cheers!