Re: Binding name must be same as ivar name?
Re: Binding name must be same as ivar name?
- Subject: Re: Binding name must be same as ivar name?
- From: Roarke Lynch <email@hidden>
- Date: Thu, 24 Feb 2005 23:24:24 -0500
On Feb 24, 2005, at 1:44 PM, mmalcolm crawford wrote:
Binding names are the names of attributes of an object that may be
bound.
You bind an object's binding to another object using a keypath. It is
items in a keypath that can have derived values. This is a general
property of key-value coding, and dependent values is a feature of
key-value observing, both of which may find utility in contexts other
than bindings.
Are you saying that bindings should not be used for derived properties
that are peers of each other? Simple example: a sum class
@implementation Sum
- (int)a { return a; }
- void setA:(int)newA { a = newA; }
- (int)b { return b; }
- void setB:(int)newB { b = newB; }
- (int)c { return a + b; }
@end
Now are you saying that the keys "a" and "b" should not be configured
to automatically notify for a change in "c"?
Roarke Lynch
-------------------------------
email@hidden
_______________________________________________
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