Re: Error inserting object at arranged index
Re: Error inserting object at arranged index
- Subject: Re: Error inserting object at arranged index
- From: Jean Bovet <email@hidden>
- Date: Mon, 18 Apr 2005 00:54:33 -0700
I have seen on one of the mmalc's array controller example that the new
added/inserted objects are automatically added and not filtered. It
works now but I have to rearrange the array after in order to ensure a
smooth user-experience.
Is that the right way to do that ?
Jean
Le 18 avr. 05, à 00:43, Jean Bovet a écrit :
Hi,
I get an "Error inserting object at arranged object index <n>" when
inserting an object in a custom NSArrayController when it is filtered.
I've overridden arrangedObjects() to filter the array. Should I
override insertObject:atArrangedIndex: too ?
Thanks!
Jean
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to 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