• 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
Weird bindings problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weird bindings problem


  • Subject: Weird bindings problem
  • From: Moray Taylor <email@hidden>
  • Date: Tue, 6 Jun 2006 12:52:09 +0100

I have a few controls that use two 'enabled' bindings, and I get this error

*** -observeValueForKeyPath:ofObject:change:context: only defined for abstract class. Define -[NSCFString observeValueForKeyPath:ofObject:change:context:]!


If I reduce this to just use one 'enabled' binding, it works fine, to make this even weirder, if I put the 2nd enabled binding back in, but switch the order of the bindings, i.e. enabled becomes enabled2, and enabled2 becomes enabled, it works fine!


I've seen this happen loads of times, and I can replicate the problem.

I have a workaround, so it's that big a deal, but I'd like to know what's going on, any ideas?

Cheers

Moray

______________________________________________________________________
LEGAL NOTICE:This e-mail has been sent to you by DataActive
Communications Ltd. This communication, and the information it
contains, is intended for the person(s) or organisation(s) to whom it
is addressed. Its contents are confidential and may be protected in
law. Unauthorised use, copying or disclosure of any of it may be
unlawful. If you are not the intended recipient, please notify the
sender by replying with 'Received in error' as the subject and then
delete it from your mailbox. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
DataActive Communications Ltd. Although this e-mail and any
attachments are believed to be free of any virus or other defects
which might affect any computer or IT system into which they are
received, no responsibility is accepted from DataActive Communications
Ltd, or any of its associated companies for any loss or damage
arising in any way from the receipt or use thereof. We recommend that
you should carry out your own virus checking procedure before opening
any attachment.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
_______________________________________________
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
  • Prev by Date: Re: Java VM version
  • Next by Date: controls in a browser cell
  • Previous by thread: Re: Java VM version
  • Next by thread: Re: Weird bindings problem
  • Index(es):
    • Date
    • Thread