• 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: Programmatically setting the value of a bound TextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programmatically setting the value of a bound TextField


  • Subject: Re: Programmatically setting the value of a bound TextField
  • From: Felix Franz <email@hidden>
  • Date: Thu, 2 Mar 2006 11:40:57 +0100


On Mar 1, 2006, at 7:45 PM, Camillo Lugaresi wrote:

On 01/mar/06, at 17:44, Felix Franz wrote:
It would be nice to get the bindings of a given control. Then one could simply test the
bindings object, keypath and options, and there would be no reason to test Apple's
implementation. Poking around with the FScript object-browser,
[[textField _bindingAdaptor] binders] returns an Array of NSValueBinders which contains
the relevant information ... but I learnt the hard way to not use undocumented features :)

10.4 has an infoForBinding: method.


Ah, I should better read the docs ... Thank you, this makes testing a whole lot easier.



felix

_______________________________________________
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: 
 >Programmatically setting the value of a bound TextField (From: Felix Franz <email@hidden>)
 >Re: Programmatically setting the value of a bound TextField (From: Ricky Sharp <email@hidden>)
 >Re: Programmatically setting the value of a bound TextField (From: Felix Franz <email@hidden>)
 >Re: Programmatically setting the value of a bound TextField (From: Camillo Lugaresi <email@hidden>)

  • Prev by Date: Re: CoreData updating of NSTableView cells
  • Next by Date: NSXMLDocument question
  • Previous by thread: Re: Programmatically setting the value of a bound TextField
  • Next by thread: Re: Programmatically setting the value of a bound TextField
  • Index(es):
    • Date
    • Thread