replaceObjectAtIndex method

void replaceObjectAtIndex(
  1. int index, {
  2. required ObjCObject withObject,
})

replaceObjectAtIndex:withObject:

Implementation

void replaceObjectAtIndex(int index, {required objc.ObjCObject withObject}) {
  _objc_msgSend_1gypgok(
    object$.ref.pointer,
    _sel_replaceObjectAtIndex_withObject_,
    index,
    withObject.ref.pointer,
  );
}