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.