@@ -48,11 +48,11 @@ * the first key/value pair found is returned. * * @param key The key for which the string value should be returned * @return The string value for the specified key, or `nil` if it does not exist */ -- (nullable OFString*)stringForKey: (OFString*)key; +- (nullable OFString *)stringForKey: (OFString *)key; /*! * @brief Returns the string value for the specified key or the specified * default value if it does not exist. * @@ -62,12 +62,12 @@ * @param key The key for which the string value should be returned * @param defaultValue The value to return if the key does not exist * @return The string value for the specified key or the specified default * value if it does not exist */ -- (nullable OFString*)stringForKey: (OFString*)key - defaultValue: (nullable OFString*)defaultValue; +- (nullable OFString *)stringForKey: (OFString *)key + defaultValue: (nullable OFString *)defaultValue; /*! * @brief Returns the integer value for the specified key or the specified * default value if it does not exist. * @@ -77,11 +77,11 @@ * @param key The key for which the integer value should be returned * @param defaultValue The value to return if the key does not exist * @return The integer value for the specified key or the specified default * value if it does not exist */ -- (intmax_t)integerForKey: (OFString*)key +- (intmax_t)integerForKey: (OFString *)key defaultValue: (intmax_t)defaultValue; /*! * @brief Returns the bool value for the specified key or the specified default * value if it does not exist. @@ -92,11 +92,11 @@ * @param key The key for which the bool value should be returned * @param defaultValue The value to return if the key does not exist * @return The bool value for the specified key or the specified default value * if it does not exist */ -- (bool)boolForKey: (OFString*)key +- (bool)boolForKey: (OFString *)key defaultValue: (bool)defaultValue; /*! * @brief Returns the float value for the specified key or the specified * default value if it does not exist. @@ -107,11 +107,11 @@ * @param key The key for which the float value should be returned * @param defaultValue The value to return if the key does not exist * @return The float value for the specified key or the specified default value * if it does not exist */ -- (float)floatForKey: (OFString*)key +- (float)floatForKey: (OFString *)key defaultValue: (float)defaultValue; /*! * @brief Returns the double value for the specified key or the specified * default value if it does not exist. @@ -122,11 +122,11 @@ * @param key The key for which the double value should be returned * @param defaultValue The value to return if the key does not exist * @return The double value for the specified key or the specified default * value if it does not exist */ -- (double)doubleForKey: (OFString*)key +- (double)doubleForKey: (OFString *)key defaultValue: (double)defaultValue; /*! * @brief Returns an array of string values for the specified multi-key, or an * empty array if the key does not exist. @@ -136,11 +136,11 @@ * * @param key The multi-key for which the array should be returned * @return The array for the specified key, or an empty array if it does not * exist */ -- (OFArray OF_GENERIC(OFString*)*)arrayForKey: (OFString*)key; +- (OFArray OF_GENERIC(OFString *) *)arrayForKey: (OFString *)key; /*! * @brief Sets the value of the specified key to the specified string. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of @@ -147,12 +147,12 @@ * the first key/value pair found is changed. * * @param string The string to which the value of the key should be set * @param key The key for which the new value should be set */ -- (void)setString: (OFString*)string - forKey: (OFString*)key; +- (void)setString: (OFString *)string + forKey: (OFString *)key; /*! * @brief Sets the value of the specified key to the specified integer. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of @@ -160,11 +160,11 @@ * * @param integer The integer to which the value of the key should be set * @param key The key for which the new value should be set */ - (void)setInteger: (intmax_t)integer - forKey: (OFString*)key; + forKey: (OFString *)key; /*! * @brief Sets the value of the specified key to the specified bool. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of @@ -172,11 +172,11 @@ * * @param bool_ The bool to which the value of the key should be set * @param key The key for which the new value should be set */ - (void)setBool: (bool)bool_ - forKey: (OFString*)key; + forKey: (OFString *)key; /*! * @brief Sets the value of the specified key to the specified float. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of @@ -184,11 +184,11 @@ * * @param float_ The float to which the value of the key should be set * @param key The key for which the new value should be set */ - (void)setFloat: (float)float_ - forKey: (OFString*)key; + forKey: (OFString *)key; /*! * @brief Sets the value of the specified key to the specified double. * * If the specified key is a multi-key (see @ref arrayForKey:), the value of @@ -196,11 +196,11 @@ * * @param double_ The double to which the value of the key should be set * @param key The key for which the new value should be set */ - (void)setDouble: (double)double_ - forKey: (OFString*)key; + forKey: (OFString *)key; /*! * @brief Sets the specified multi-key to the specified array of strings. * * It replaces the first occurrence of the multi-key with several key/value @@ -210,20 +210,20 @@ * See also @ref arrayForKey: for more information about multi-keys. * * @param array The array of strings to which the multi-key should be set * @param key The multi-key for which the new values should be set */ -- (void)setArray: (OFArray OF_GENERIC(OFString*)*)array - forKey: (OFString*)key; +- (void)setArray: (OFArray OF_GENERIC(OFString *) *)array + forKey: (OFString *)key; /*! * @brief Removes the value for the specified key * * If the specified key is a multi-key (see @ref arrayForKey:), all key/value * pairs matching the specified key are removed. * * @param key The key of the value to remove */ -- (void)removeValueForKey: (OFString*)key; +- (void)removeValueForKey: (OFString *)key; @end OF_ASSUME_NONNULL_END