Re: Native Cocoa API for iTunes?
Re: Native Cocoa API for iTunes?
- Subject: Re: Native Cocoa API for iTunes?
- From: Graham Cox <email@hidden>
- Date: Fri, 22 Jul 2011 11:44:49 +1000
If the scripting interface has changed, the scripting dictionary will have been updated - browse it in the Script Editor.
There isn't a 'native Objective-C' interface to iTunes and there never will be. Apple don't even let you run iTunes in a debugger in case you could use that to reverse-engineer encryption, etc (at least I assume that's the thinking). It makes debugging plug-ins a bit tricky. The visualizer plug-in API only exposes a single entry point back into iTunes that follows a classic funnelling-point design with strictly limited messages, so basically there's no back door and no API.
--Graham
On 22/07/2011, at 11:14 AM, bradgibbs wrote:
> I worded my post poorly. My point was, if Apple has re-written iTunes in Obj-C, they didn't necessarily re-implement the same scripting interface They may have added, removed or fixed from 10.3 and earlier, or they may have dumped scriptability completely. Based on the posts in this group, visualization and other plug-ins are broken with 10.4 so I don't think it's unreasonable to wonder whether the scripting interface has changed. What I was hoping for was a link to an article I missed on a wonderful new native Cocoa API.
>
> On Jul 21, 2011, at 02:40 PM, Jens Alfke <email@hidden> wrote:
>
>
> On Jul 21, 2011, at 7:12 AM, bradgibbs wrote:
>
> I've been using Scripting Bridge in one of my apps. Now that iTunes is a native Cocoa app, I'm wondering what effect this is going to have on Scripting Bridge compatibility,
>
> Why would it have any effect? Scripting interfaces don’t depend on whether the app is written in C++ or Objective-C or Python or Pascal.
>
> —Jens_______________________________________________
>
> 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