• 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: Why does IB insist on putting NSTextView in an NSScrollView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why does IB insist on putting NSTextView in an NSScrollView


  • Subject: Re: Why does IB insist on putting NSTextView in an NSScrollView
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 17 Jan 2010 14:20:11 -0800

On Jan 17, 2010, at 5:34 AM, Jerry Krinock wrote:

> I don't see why an un-embedded NSTextView is not available in the Library.

I think because it's generally considered unnecessary. Without the scrollview wrapped around it, it can't scroll, which means the amount of text it can be used with is really limited. There's not much point to that; if you want something for little bits of text, an NSTextField works better. If you really don't want the scroll bars to show up by default, you can hide them.

Yes, you can save yourself a few lines of code by not having to deal with the enclosing scrollview, but it doesn't seem worth it to me.

—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Why does IB insist on putting NSTextView in an NSScrollView
      • From: Jerry Krinock <email@hidden>
References: 
 >Why does IB insist on putting NSTextView in an NSScrollView (From: Jerry Krinock <email@hidden>)
 >Re: Why does IB insist on putting NSTextView in an NSScrollView (From: Fritz Anderson <email@hidden>)
 >Re: Why does IB insist on putting NSTextView in an NSScrollView (From: Jerry Krinock <email@hidden>)
 >Re: Why does IB insist on putting NSTextView in an NSScrollView (From: Andy Lee <email@hidden>)
 >Re: Why does IB insist on putting NSTextView in an NSScrollView (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Xcode 3.2.1 - where did the Research Assistant Button go?
  • Next by Date: Re: Xcode and IB connection
  • Previous by thread: Re: Why does IB insist on putting NSTextView in an NSScrollView
  • Next by thread: Re: Why does IB insist on putting NSTextView in an NSScrollView
  • Index(es):
    • Date
    • Thread