Class YSKSetting

An abstract class of library component settings.

The class inheritors are used for storing various settings. The library does not use this class explicitly, but you can create it for your own purposes.

Instance Methods

-initWithValue:

Initializes an object of the YSKSetting class.

-isEqualToSetting:

Tests for equality two objects of the YSKSetting class.

Properties

value

String value of the setting.

Method Detail

-initWithValue:

- (instancetype)initWithValue:(NSString *)value 

Initializes an object of the YSKSetting class.

This method is a designated initializer for the YSKSetting class.
Parameters:
value

String value of the setting.

Returns:

An object of the YSKSetting class.

-isEqualToSetting:

- (BOOL)isEqualToSetting:(YSKSetting *)object 

Tests for equality two objects of the YSKSetting class.

Parameters:
object

An object of the YSKSetting class.

Returns:

The value is YES if the current and passed objects are equal; otherwise NO.

Property Detail

value

(copy, readonly) NSString * value

String value of the setting.