Instance Method

removeValueAtIndex:fromPropertyWithKey:

Removes the object at the specified index from the collection specified by the passed key.

Declaration

- (void)removeValueAtIndex:(NSUInteger)index fromPropertyWithKey:(NSString *)key;

Discussion

The method removeFrom<Key>AtIndex: is invoked if it exists. If no corresponding scripting-KVC-compliant method (-removeFrom<Key>AtIndex:) is found, this method invokes -mutableArrayValueForKey: and mutates the result.

See Also

Indexed access

- insertValue:atIndex:inPropertyWithKey:

Inserts an object at the specified index in the collection specified by the passed key.

- replaceValueAtIndex:inPropertyWithKey:withValue:

Replaces the object at the specified index in the collection specified by the passed key.

- valueAtIndex:inPropertyWithKey:

Retrieves an indexed object from the collection specified by the passed key.