Contents

object(forKey:)

Returns the value associated with a given key.

Declaration

func object(forKey aKey: Any) -> Any?

Parameters

  • aKey:

    The key for which to return the corresponding value.

Return Value

The value associated with aKey, or nil if no value is associated with aKey.

See Also

Accessing Keys and Values