Instance Method

valueAtIndex:inPropertyWithKey:

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

Declaration

- (id)valueAtIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key;

Discussion

This actually works with a single-value key as well if index is 0. The method valueIn<Key>AtIndex: is used if it exists.

See Also

Indexed access

- insertValue:atIndex:inPropertyWithKey:

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

- removeValueAtIndex:fromPropertyWithKey:

Removes the object at the specified index from 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.