Skip navigation.
 
mlRe: Setting the subclass for an NSTextView... in IB..
FROM : Brian Webster
DATE : Wed Nov 20 23:56:43 2002

On Wednesday, November 20, 2002, at 02:48  PM,
<email_removed> wrote:

> can this be done?  I keep getting an empty inspector for Custom Class
>
> I can do it for NSTableView... and others.. I just don't want to have
> to add the code to rebuild the textview if I don't have to (I can.. I
> have it.. but this seems like an IB limitation that isn't necessary)


Yeah, this does look like a limitation of the IB palette for
NSTextView.  Definitely bug report material.  In the meantime, you
might try adding a custom view to your window, selecting your
NSTextView subclass for its class, and then doing a Make Subviews
Of->Scroll View.  It should at least save you from mucking around with
the code for it, although some configuration might still be necessary,
depending on if you want horizontal/vertical scrolling/layout of text,
etc.

--
Brian Webster
<email_removed>
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlSetting the subclass for an NSTextView... in IB.. Scott Anguish Nov 20, 10:44
mlRe: Setting the subclass for an NSTextView... in IB.. Brian Webster Nov 20, 23:56
mlRe: Setting the subclass for an NSTextView... in IB.. Henri Lamiraux Nov 23, 16:55