Instance Method

setDouble:forKey:

Sets the value of the specified default key to the double value.

Declaration

- (void)setDouble:(double)value forKey:(NSString *)defaultName;

Parameters

value

The double value.

defaultName

The key with which to associate the value.

Discussion

This is a convenience method for calling setObject:forKey:.

See Also

Setting Default Values

- setObject:forKey:

Sets the value of the specified default key.

- setFloat:forKey:

Sets the value of the specified default key to the specified float value.

- setInteger:forKey:

Sets the value of the specified default key to the specified integer value.

- setBool:forKey:

Sets the value of the specified default key to the specified Boolean value.

- setURL:forKey:

Sets the value of the specified default key to the specified URL.