• 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: accessing binding values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accessing binding values


  • Subject: Re: accessing binding values
  • From: mmalcolm crawford <email@hidden>
  • Date: Sun, 23 May 2004 11:21:00 -0700

On May 23, 2004, at 9:41 AM, William Biesele wrote:

Is it possible to access a control's bindings in a program? For example in the control:textShouldBeginEditing method is there a way to get the 'Bind to' and 'Modal Key Path' Binding values for the control?


No, you cannot currently ask an object what its bindings are.
You can, however, subclass the control and override bind:toObject:withKeyPath:options:. In your implementation you can record the binding information then call super...

mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >accessing binding values (From: William Biesele <email@hidden>)

  • Prev by Date: Re: disk:// and help:// security problems
  • Next by Date: NSShadow
  • Previous by thread: accessing binding values
  • Next by thread: Re: OT: An idea for Apple, and Developers
  • Index(es):
    • Date
    • Thread