• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is this possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


-- 
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>

 _______________________________________________
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

  • Follow-Ups:
    • Re: Is this possible?
      • From: email@hidden
References: 
 >Is this possible? (From: Brian Christmas <email@hidden>)
 >Re: Is this possible? (From: Shane Stanley <email@hidden>)
 >Re: Is this possible? (From: Brian Christmas <email@hidden>)
 >Re: Is this possible? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Is this possible?
  • Next by Date: Re: Is this possible?
  • Previous by thread: Re: Is this possible?
  • Next by thread: Re: Is this possible?
  • Index(es):
    • Date
    • Thread