• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Error inserting object at arranged index
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread 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
References: 
 >Error inserting object at arranged index (From: Jean Bovet <email@hidden>)

  • Prev by Date: Error inserting object at arranged index
  • Next by Date: Re: indeterminate progress bar animation problem
  • Previous by thread: Error inserting object at arranged index
  • Next by thread: dragging from a view to editors and the finder
  • Index(es):
    • Date
    • Thread