Class YMKSearchCategory

Single category (also known as rubric) description.

Class Methods

Properties

categoryClass

Category class.

name

Category name.

tags

Additional non-structured data for the category.

Method Detail

+categoryWithName:categoryClass:tags:

+ (nonnull YMKSearchCategory *)categoryWithName:(nonnull NSString *)name
                                  categoryClass:(nullable NSString *)categoryClass
                                           tags:(nonnull NSArray< NSString * > *)tags 

Property Detail

categoryClass

(assign, readonly) NSString * categoryClass

Category class.

Different categories can have the same class. For example, "Bar", "Cafe" and "Restaurant" categories inhabit "restaurants" category class.

Optional property, can be null.

name

(assign, readonly) NSString * name

Category name.

tags

(assign, readonly) NSArray< NSString * > * tags

Additional non-structured data for the category.