On 23 Apr 2009, at 23:21, Jim Correia wrote:
On Apr 22, 2009, at 10:45 AM, jonat...@mugginsoft.com wrote:
The property canDelete is dependent on three other properties as
shown below.
Is there a problem with my implementation of +
keyPathsForValuesAffectingCanDelete with regard to the k
On Apr 22, 2009, at 10:45 AM, jonat...@mugginsoft.com wrote:
The property canDelete is dependent on three other properties as
shown below.
Is there a problem with my implementation of +
keyPathsForValuesAffectingCanDelete with regard to the key path
@"arrayController.canRemove"?
Is is
On 4/22/09 3:45 PM, jonat...@mugginsoft.com said:
>+ (NSSet *)keyPathsForValuesAffectingCanDelete
>{
> return [NSSet setWithObjects:@"property1", @"property2",
>@"arrayController.canRemove", nil];
>}
I, and others, have never been able to get dependent key paths working
when you traverse a co
On 22 Apr 2009, at 17:10, Keith Duncan wrote:
On 22 Apr 2009, at 15:45, jonat...@mugginsoft.com wrote:
Is there a problem with my implementation of +
keyPathsForValuesAffectingCanDelete
You method signature is slightly wrong, it needs to be of the form
+keyPathsForValuesAffectingValueFo
On 22 Apr 2009, at 15:45, jonat...@mugginsoft.com wrote:
Is there a problem with my implementation of +
keyPathsForValuesAffectingCanDelete
You method signature is slightly wrong, it needs to be of the form
+keyPathsForValuesAffectingValueFor:
Keith
___
On 22 Apr 2009, at 17:02, Ken Thomases wrote:
On Apr 22, 2009, at 9:45 AM, jonat...@mugginsoft.com wrote:
Removing all items in the array bound to arrayController does not
cause -canDelete to be evaluated, even though [arrayController
canRemove] becomes NO.
How are you removing the items
On Apr 22, 2009, at 9:45 AM, jonat...@mugginsoft.com wrote:
Removing all items in the array bound to arrayController does not
cause -canDelete to be evaluated, even though [arrayController
canRemove] becomes NO.
How are you removing the items? Is it being done in a KVO-compliant
manner?
The property canDelete is dependent on three other properties as shown
below.
Is there a problem with my implementation of +
keyPathsForValuesAffectingCanDelete with regard to the key path
@"arrayController.canRemove"?
Modifying property1 and property2 results in the re-evaluation of -