RE: Subclassing NSTextView
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