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

Re: Weird bindings problem


  • Subject: Re: Weird bindings problem
  • From: Matt Neuburg <email@hidden>
  • Date: Tue, 06 Jun 2006 11:02:53 -0700
  • Thread-topic: Weird bindings problem

On Tue, 6 Jun 2006 12:52:09 +0100, Moray Taylor
<email@hidden> said:
>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 can't. I use two 'enabled' bindings for things all the time and I've never
seen this. Can you provide explicit instructions for reproducing?

>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.

Must you?

m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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: vertically aligning my NSAttributed text in its NSRect when drawn
  • Next by Date: Re: Fastest way to "ExpandAll" in NSOutlineView
  • Previous by thread: Weird bindings problem
  • Next by thread: controls in a browser cell
  • Index(es):
    • Date
    • Thread