@@ -196,10 +196,24 @@ * @return The object for the given key or `nil` if the key was not found */ - (nullable ObjectType)objectForKey: (KeyType)key; - (nullable ObjectType)objectForKeyedSubscript: (KeyType)key; +/*! + * @brief Returns the value for the given key or `nil` if the key was not + * found. + * + * If the key starts with an `@`, the `@` is stripped and + * `[super valueForKey:]` is called. + * If the key does not start with an `@`, this is equivalent to + * @ref objectForKey:. + * + * @param key The key whose value should be returned + * @return The value for the given key or `nil` if the key was not found + */ +- (nullable id)valueForKey: (OFString*)key; + /*! * @brief Checks whether the dictionary contains an object equal to the * specified object. * * @param object The object which is checked for being in the dictionary