insert(_:atArrangedObjectIndex:)
Inserts object into the receiver’s arranged objects array at the location specified by index, and adds it to the receiver’s content collection.
Declaration
func insert(_ object: Any, atArrangedObjectIndex index: Int)Discussion
Subclasses can override this method to provide customized arranged objects support. An error is returned if the given index is outside of the arrangedObjects range, or if the given object would not appear in the arrangedObjects. Set the clearsFilterPredicateOnInsertion to true to allow insertion.