MacTech Article: Cocoa-Covered AppleScript
Cocoa-CoveredAppleScript
by Jose R. C.Cruz
Feb, 2011 Issue
Article Synopsis
MacOS X 10.6 brought something new to the scripting arena, something that benefits developers and users alike. AppleScript, that friendly and easy to use script language, has finally gone native.
In today's article, we will try to understand what this means. We will learn the benefits of going native, as well as some notable issues.
Next, we study how a typical Cocoa class translates itself into a script object. We look at how said object interacts with the Cocoa framework, with scripting additions and with scriptable applications. Later on, we go through the steps of building a native AppleScript application using the latest Xcode suite.
This article was published in the 27.02 issue of MacTech Magazine. Subscribers saw
this article in the print magazine when it was first published. MacTech provides its readers with valuable information
each and every month, but even if it only solves one problem for you a year, it's more than paid for itself.
Subscribe today with a special RISK FREE trial subscription ... and get the back issues at the MacTech Store, or the new MacTech CD with the history of
the magazine all in one convenient place.