• 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: problem with NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with NSScrollView


  • Subject: Re: problem with NSScrollView
  • From: Thomas Harrington <email@hidden>
  • Date: Thu, 31 Jul 2003 22:26:21 -0600

On Thursday, July 31, 2003, at 06:55 PM, matt neuburg wrote:

On Thu, 31 Jul 2003 13:59:03 -0600, Thomas Harrington <email@hidden> said:
On Thursday, July 31, 2003, at 04:28 AM, matt neuburg wrote:

On Mon, 28 Jul 2003 12:35:08 -0700, John Randolph <email@hidden> said:

2) Grab a normal textView in the scrollview from the 'Cocoa-text'
palette, double click inside the scrollview to select the text view,
and set it to a custom class.

Are you actually working with a version of IB in which what you just
said is possible? If so, what version? Thx - m.

It seems pretty straightforward in the December release:

1. In "classes" tab, create subclass of NSTextView. Alternately, if
you already created the subclass in PB, drag its header file in so IB
is aware of it.
2. Drag NSScrollView with embedded NSTextView from palette to window.
3. Select NSTextView; bring up inspector's "custom class" panel. The
subclass from step 1 is listed, so select it.

Fascinating, Captain. Well, not on my machine. The custom class panel says "not applicable", just like it's done for the last two-and-a-half years when I try this. m.

Sure you've got the NSTextView selected? I can get that panel to read "not applicable" in a variety of ways. But if you select one of the objects you've placed in a nib, the panel should at a minimum show that class's name. If there are alternatives IB knows of (like a subclass you've told it about) it should list those as well.

--
Tom Harrington
email@hidden
_______________________________________________
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: Making my application scriptable
  • Next by Date: SOLVED: HELP! Formatter acting wrong...
  • Previous by thread: Re: problem with NSScrollView
  • Next by thread: [SOLVED] Re: NSWindow comes up as a tiny little window
  • Index(es):
    • Date
    • Thread