“AppleScript is a first-class Cocoa citizen. (WWDC session “AppleScript and Cocoa Bridge”: “AppleScript is now a first-class language for Cocoa development thanks to the updated Cocoa Bridge in Snow Leopard. Discover how the Cocoa Bridge gives AppleScript consistent access to all the Cocoa frameworks, including full support for bindings and connections in Interface Builder. Learn how to transition your applications from AppleScript Studio to this more powerful, efficient architecture.”)”
What this means for newbie AppleScript programmers? Is there anywhere online more information and easy tutorials about this? Does this mean that i can include more easily Cocoa code in AppleScript?
Heh, well I think it says you can include Applescript into > Cocoa projects, not the other way around. As a “beginning Cocoa programmer” I think it’s already tough enough as it is, and the few times I’ve added Cocoa to my AScript, it was less than easy.
No, that’s Scripting Bridge. Cocoa Bridge supposedly adds Cocoa calls to AppleScript, a s a replacement for call methods. I presume it also replaces the “on” handlers generated by Interface Builder with the Cocoa equivalent handlers.
I just hope that the AppleScript syntax incarnation of Cocoa routines uses labeled parameters rather than the horrid positional parameters we’ve seen in call method.
It seems that all existing ASS projects won’t run in the new XCode and that we’ll have to rewrite most of our existing code (handlers and references to objects) to migrate across. This is really going to shake things up. Anyone have any more information on what’s happening here?
I already ordered my snow leopard copy. What will happen if I install it on the machine that I use to create ASS projects? Surely the answer to that question isn’t under any NDA?