GLSearchCategory
@interface GLSearchCategory : NSObject
GLSearchCategory
class holds information about category that can be displayed to user.
-
Unavailable
Please use
GLSearchCategories
to work withGLSearchCategory
objects.Plain -init is disabled
Declaration
Objective-C
- (instancetype _Nonnull)init;
-
Returns name of the category according language priority settings. It checks for translated name from first language in priority list to the last one until first translated name is found.
Declaration
Objective-C
- (GLMapValue *_Nullable)localizedName:(GLMapLocaleSettings *_Nonnull)settings;
Parameters
settings
Language order settings
Return Value
Localized name of the category.
-
Icon name of the category.
Declaration
Objective-C
@property (atomic, readonly) NSString *_Nonnull iconName;
-
Child categories of the category.
Declaration
Objective-C
@property (atomic, readonly) NSArray<GLSearchCategory *> *_Nonnull childs;
-
Parent category
Declaration
Objective-C
@property (atomic, readonly) GLSearchCategory *_Nullable parent;