Re: How do you split a script into multiple source files
Re: How do you split a script into multiple source files
- Subject: Re: How do you split a script into multiple source files
- From: Shane Stanley <email@hidden>
- Date: Wed, 30 Dec 2009 11:09:12 +1100
- Thread-topic: How do you split a script into multiple source files
Basically you add a new class via File -> New File, instantiate it in IB
(drag in blue cube and change its class), then create a connection to it via
a property in the classes you want to address it from.
The two things to watch are (a) you need to follow Cocoa naming conventions
for your handlers, and (b) you need to coerce arguments and results from
pointers to their respective classes.
You can read a bit more here:
<http://macscripter.net/viewtopic.php?id=30814>
--
Shane Stanley <email@hidden>
AppleScript Pro, April 2010, Florida <http://www.applescriptpro.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden