• 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: Subclassing NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Subclassing NSTextView


  • Subject: RE: Subclassing NSTextView
  • From: John Joyce <email@hidden>
  • Date: Tue, 12 Aug 2008 20:15:31 -0500

Ooops, nevermind!!
I answered my own question.
When adding the class file to the project, start with the NSView subclass template, then change it to subclass NSTextView in the .h
and in the .m either call [super drawRect:rect]; or comment out or delete the drawRect method all together.
That was too stupidly easy to be obvious.
Too bad there is not an option for more subclass templates right in the GUI ...
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Subclassing NSTextView
      • From: "Michael Ash" <email@hidden>
    • Re: Subclassing NSTextView
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Archiving NSColor as NSData
  • Next by Date: Re: Archiving NSColor as NSData
  • Previous by thread: Subclassing NSTextView
  • Next by thread: Re: Subclassing NSTextView
  • Index(es):
    • Date
    • Thread