Instance Method インスタンスメソッド

value(at:inPropertyWithKey:)

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

Declaration 宣言

func value(at index: Int, 
inPropertyWithKey key: String) -> Any?

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