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

value(withUniqueID:inPropertyWithKey:)

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

Declaration 宣言

func value(withUniqueID uniqueID: Any, 
inPropertyWithKey key: String) -> Any?

Discussion 解説

The method valueIn<Key>WithUniqueID: is invoked if it exists. Otherwise, raises an NSUndefinedKeyException. The declared type of uniqueID in the constructed method must be id, NSNumber *, NSString *, or one of the scalar types that can be encapsulated by NSNumber.

See Also 参照

Access by name, key, or ID