• 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 (NSAttributedString) binding: Is it possible to programmatically change the value source?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView (NSAttributedString) binding: Is it possible to programmatically change the value source?


  • Subject: Re: NSTextView (NSAttributedString) binding: Is it possible to programmatically change the value source?
  • From: Scott Anguish <email@hidden>
  • Date: Thu, 13 Apr 2006 17:20:23 -0400

of course.

You can programmatically unbind the existing object, and programmatically bind it to the new one.

See the NSKeyValueBindingCreation protocol for the appropriate methods.


On Apr 13, 2006, at 4:59 PM, Frederick C. Lee wrote:

I have a NSTextView that should be able to I/O data from difference sources.
Presently it's bound to one NSArrayController.


Is it possible to programmatically change the bind to a different NSArrayController/source?

If so, how?

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >NSTextView (NSAttributedString) binding: Is it possible to programmatically change the value source? (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: NSArrayController and programatic add
  • Next by Date: Re: NSLayoutManager and whitespace
  • Previous by thread: NSTextView (NSAttributedString) binding: Is it possible to programmatically change the value source?
  • Next by thread: NSArrayController and programatic add
  • Index(es):
    • Date
    • Thread