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