• 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: Setting the subclass for an NSTextView... in IB..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting the subclass for an NSTextView... in IB..


  • Subject: Re: Setting the subclass for an NSTextView... in IB..
  • From: Brian Webster <email@hidden>
  • Date: Wed, 20 Nov 2002 16:56:43 -0600

On Wednesday, November 20, 2002, at 02:48 PM, email@hidden 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@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: NSDateFormatter problems
  • Next by Date: Re: Exclusive File Access
  • Previous by thread: Re: Setting the subclass for an NSTextView... in IB..
  • Next by thread: Run Loop in a Cocoa application?
  • Index(es):
    • Date
    • Thread