>
> On 19 Jul 2011, at 02:41, Trygve Inda wrote:
>
>>> [myArrayController bind:@"content" toObject:myClassObject
>>> withKeyPath:@"places" options:NULL];
>>
>> Hmm... Seems like it should be bind:@"contentArray"
>
> Please use the NSContentArrayBinding constant as that's what's it exists for,
>
On 19 Jul 2011, at 02:41, Trygve Inda wrote:
>> [myArrayController bind:@"content" toObject:myClassObject
>> withKeyPath:@"places" options:NULL];
>
> Hmm... Seems like it should be bind:@"contentArray"
Please use the NSContentArrayBinding constant as that's what's it exists for,
despite being
On Jul 18, 2011, at 19:13, Trygve Inda wrote:
> Where am I not KVO compliant?
I can't answer exactly, because you didn't provide enough information. So let
me provide an example.
Let's assume the array controller was bound to an array property of an object
in the nib of class MyClass, and you
2011/7/18 Trygve Inda :
> I have a class (MyClass) that conforms to the collection methods for mutable
> collections such as...
>
> -(void)insert:(NSArray *)locationArray atIndexes:(NSIndexSet *)indexes
What happens if instead of implementing the collection methods, you
just expose the NSMutableAr
> On Jul 18, 2011, at 18:41, Trygve Inda wrote:
>
>> The other possibly related issue is that I have my table delegate defined in
>> the nib and seem to get
>>
>> -(void)tableViewSelectionDidChange:(NSNotification *)aNotification
>>
>> Before awakeFromNib which means my binding has not taken pla
On Jul 18, 2011, at 18:41, Trygve Inda wrote:
> The other possibly related issue is that I have my table delegate defined in
> the nib and seem to get
>
> -(void)tableViewSelectionDidChange:(NSNotification *)aNotification
>
> Before awakeFromNib which means my binding has not taken place yet. Do
> I have a class (MyClass) that conforms to the collection methods for mutable
> collections such as...
>
> -(void)insert:(NSArray *)locationArray atIndexes:(NSIndexSet *)indexes
>
>
> In my nib I have an NSArrayController and an instance of MyClass
>
> My binding for the NSArrayController cont
I have a class (MyClass) that conforms to the collection methods for mutable
collections such as...
-(void)insert:(NSArray *)locationArray atIndexes:(NSIndexSet *)indexes
In my nib I have an NSArrayController and an instance of MyClass
My binding for the NSArrayController content looks like:
B