• 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: Using a subclass in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using a subclass in IB


  • Subject: Re: Using a subclass in IB
  • From: Andreas Mayer <email@hidden>
  • Date: Sun, 10 Nov 2002 19:09:29 +0100

Am Sonntag, 10.11.02 um 16:10 Uhr schrieb matt neuburg:

For NSTextView it's more involved; IB doesn't let you do this directly. The usual approach is to do it in code. This has been covered here many times, so check the archives. m.

Sure it does.

What you get when you choose a text view in IB is actually a scroll view with an embedded text view.

So you
- import your header file
- add a custom view to your window/panel/whatever
- change the custom view's class to your text view subclass
- choose Make subviews of - Scroll View from the Layout menu

Voil`

bye. Andreas.
_______________________________________________
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: Re: What are the hazards of doing the following...
  • Next by Date: Using CVS with Project Builder!!!???
  • Previous by thread: Using a subclass in IB
  • Next by thread: Using a subclass in IB
  • Index(es):
    • Date
    • Thread