Re: Is this possible?
Re: Is this possible?
- Subject: Re: Is this possible?
- From: Shane Stanley <email@hidden>
- Date: Fri, 28 Aug 2015 21:58:03 +1000
On 28 Aug 2015, at 5:20 pm, Brian Christmas <email@hidden> wrote:
Unfortunately I don’t understand what you mean by ‘make a subclass of text view’.
First, you make a new AS class file -- call it something like BrianTextView -- and instead of the parent property being 'class "NSObject"', make it 'class "NSTextView"'. Then change the class of the text view in the identity inspector to BrianTextView or whatever you used. Now add the handler to the file. Your new class is now a subclass, and will inherit the rest of its behavior from NSTextView.
|
_______________________________________________
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