Class YMKSearchSubtitleItem

Separate subtitle of a certain type.

Class Methods

Properties

properties

Detailed subtitle info.

text

Short summary text.

type

Subtitle type.

Method Detail

+subtitleItemWithType:text:properties:

+ (nonnull YMKSearchSubtitleItem *)subtitleItemWithType:(nonnull NSString *)type
                                                   text:(nullable NSString *)text
                                             properties:(nonnull NSArray< YMKSearchKeyValuePair * > *)properties 

Property Detail

properties

(assign, readonly) NSArray< YMKSearchKeyValuePair * > * properties

Detailed subtitle info.

For example, [ {"key": "currency", "value": "USD"}, {"key": "buy", "value": "57.3"}, {"key": "sell", "value": "57.69"} ].

text

(assign, readonly) NSString * text

Short summary text.

For example, "USD 57.69/57.3".

Optional property, can be null.

type

(assign, readonly) NSString * type

Subtitle type.

For example, "exchange".