• 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 : Scroll top when bound-to string changes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView : Scroll top when bound-to string changes


  • Subject: Re: NSTextView : Scroll top when bound-to string changes
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 20 Jan 2012 11:22:34 -0800

Well, apparently this does not have a simple answer.

I removed the binding from my text view and instead added an IBOutlet for it, so I can use setAttributedString:, followed by setScrollPoint:.

Conclusion: Although it has some bindings available, NSTextView is like NSMenu and NSMenuItem in that the bindings and settings available are often insufficient to do what you need in a finished application.  In these cases it is better to not use Cocoa bindings.


_______________________________________________

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


  • Follow-Ups:
    • Re: NSTextView : Scroll top when bound-to string changes
      • From: Kyle Sluder <email@hidden>
References: 
 >NSTextView : Scroll top when bound-to string changes (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: auto malloc[27012]: attempted to remove unregistered weak referrer
  • Next by Date: Re: NSTextView : Scroll top when bound-to string changes
  • Previous by thread: NSTextView : Scroll top when bound-to string changes
  • Next by thread: Re: NSTextView : Scroll top when bound-to string changes
  • Index(es):
    • Date
    • Thread