• 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: Jerry Krinock <email@hidden>
  • Date: Mon, 18 Jan 2010 17:54:46 -0800

On 2010 Jan 17, at 14:20, Jens Alfke wrote:

> 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.

OK.  Well, I suppose I have a really odd usage then.  The reason I used NSTextView instead of NSTextField is because I've got possibly several lines and need to precisely predict the layout.  You can do this with NSLayoutManager for an NSTextView, but not for an NSTextField because the NSTypesetterBehavior is not reliably available.

Thanks, all.

 _______________________________________________
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: Ross Carter <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>)
 >Re: Why does IB insist on putting NSTextView in an NSScrollView (From: Jens Alfke <email@hidden>)

  • Prev by Date: Framework header access
  • Next by Date: Re: Why does IB insist on putting NSTextView in an NSScrollView
  • 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