Re: Help the shocked make a transition
Re: Help the shocked make a transition
- Subject: Re: Help the shocked make a transition
- From: has <email@hidden>
- Date: Tue, 1 Sep 2009 19:57:18 +0100
Christopher Nebel wrote:
f. So I have to learn Cocoa?
Bluntly, yes. However, a significant part of your Studio knowledge
will transfer over (only parts of Studio seriously diverge from
standard Cocoa, a lot of it is just adding/removing spaces), there
are significant advantages over Studio, and you're allowed to not
learn all of it at once.
Finding your way around the Cocoa APIs is a bear whatever language
you're using, simply due to their sheer size. However, I suspect the
hardest part for AppleScripters will be getting their heads around the
much higher levels of abstraction found in Cocoa proper compared to
Studio. It isn't really something that a casual scripter can drop into
without some Real Programming Skills (oh noes!!!) under their belt.
While Cocoa scales much better than Studio, the initial cost of entry
is also that much higher. A solid understanding of event-driven and
object-oriented programming is really a prerequisite for Cocoa
development. Most ASers only know procedural programming, though
Studio developers should have some feeling for event-driven
programming as well.
One thing I'd suggest both the AppleScript engineers and the more
experienced AppleScript/Cocoa developers take a look at is MacRuby's
HotCocoa library (http://www.macruby.org/trac/wiki/HotCocoa). HotCocoa
provides Ruby-esque wrappers around the most commonly used parts of
Cocoa, making them significantly easier to use. (You can still drop
into the full Cocoa APIs when you need to, of course.) I suspect
something like HotCocoa might go down very well with AppleScripters
who would like to build simpler applications but don't have the time
or energies to get up to speed on full-blown Cocoa development, or
just wish to whip something together quickly with a minimum of fuss.
Regards,
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
_______________________________________________
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