• 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: NSTextView help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView help


  • Subject: Re: NSTextView help
  • From: Dave DeLong <email@hidden>
  • Date: Mon, 20 Jul 2009 22:50:14 -0600

Thanks for the suggestion! Just from glancing over the example, this seems like it will yield a lot of good help.

Thanks again,

Dave

On Jul 20, 2009, at 10:19 PM, Jim Correia wrote:

On Jul 20, 2009, at 11:49 PM, Dave DeLong wrote:

The problem I'm facing is that in order to display the RTF data properly, I need an NSTextView, but NSTextView has its own enclosing scroll view that's conflicting with my overall scrollview.

NSTextView doesn't intrinsically have its own scroll view.

When you drag a text view (or a table view) out of the Library pallet in IB, you are actually dragging an NSScrollView with an NSTextView as the document view since this is a typically useful configuration.

If some other configuration is more useful to you, feel free to configure the view hierarchy that way.

Look at the TextSizingExample in the examples folder for examples of other common configurations.

- Jim
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSTextView help (From: Dave DeLong <email@hidden>)
 >Re: NSTextView help (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: What are the finer points to programatically loading a view from a NIB and attaching to the default window in MainMenu.xib?
  • Next by Date: Re: "intelligent" flexible popup
  • Previous by thread: Re: NSTextView help
  • Next by thread: What are the finer points to programatically loading a view from a NIB and attaching to the default window in MainMenu.xib?
  • Index(es):
    • Date
    • Thread