Re: Almost there with bindings
Re: Almost there with bindings
- Subject: Re: Almost there with bindings
- From: Shane Stanley <email@hidden>
- Date: Thu, 27 May 2010 11:54:41 +1000
- Thread-topic: Almost there with bindings
I'm tempted to answer "because that way it works".
Bindings rely on key-value observing. In Objective-C, you can change the
value of a property within a class either directly or via accessor methods;
both change the value, but only one is key-value observable.
Similarly, in ASObjC, adding the "my" makes the change key-value observable.
(The change seems to wrap the statement in calls to willChangeValueForKey:
and didChangeValueForKey: -- how that happens, who knows.)
--
Shane Stanley <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden