HERE iOS SDK Developer's Guide

NMACustomizableVariable

Class Summary

class NMACustomizableVariable

Derived from: NSObject

Represents a map customization property.

Include: NMAKit.framework/headers/NMACustomizableVariable.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMACustomizableVariable

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSInteger  propertyIdentifier

Returns the property identifier (id of NMASchemeColorProperty, or NMASchemeFloatProperty, etc

[readable, assign] NMACustomizablePropertyType   propertyType

Returns the type of property (e

[readable, writable, strong] NSString *  variableName

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

Instances of this class should not be initialized

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull NSDictionary< NSString *, NMACustomizableVariable * > *) allAvailableProperties

+(nonnull instancetype) new

Class Details

Represents a map customization property.

Public Property Details

[readable, assign] NSInteger propertyIdentifier

Returns the property identifier (id of NMASchemeColorProperty, or NMASchemeFloatProperty, etc.)

[readable, assign] NMACustomizablePropertyType  propertyType

Returns the type of property (e.g.: integer, float, color, font style, ..)

[readable, writable, strong] NSString * variableName

Returns a string representation of the property

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized. Call class methods only.

Class Method Details

+(nonnull NSDictionary< NSString *, NMACustomizableVariable * > *) allAvailableProperties

Utility method which returns a dictionary with all available customizable properties, where the key is the respective property name, and the object an NMACustomizableVariable

Note:

Read NMACustomizableVariable's propertyType to find out whether it is a NMACustomizableVariable, NMACustomizableColor, and so on.

Note:

This method is useful for example to iterate over all available properties programatically

+(nonnull instancetype) new

Instances of this class should not be initialized directly