Navmii SDK  2.2.0
Write yourself a navigation system in iOS
Instance Methods | Class Methods | Properties | List of all members
NMCity Class Reference

Inherits <NSObject>.

Instance Methods

(nullable instancetype) - NS_UNAVAILABLE
 

Class Methods

(nullable instancetype) + NS_UNAVAILABLE
 

Properties

NSString * name
 
NSString * transliteratedName
 
NSInteger cityClass
 
BOOL isCapital
 

Detailed Description

A class representing a city.

Method Documentation

◆ NS_UNAVAILABLE() [1/2]

- (nullable instancetype) NS_UNAVAILABLE

◆ NS_UNAVAILABLE() [2/2]

+ (nullable instancetype) NS_UNAVAILABLE

Property Documentation

◆ cityClass

- (NSInteger) cityClass
readwritenonatomicassign

The class of the city. Specifies the size of the city. Possible values: -1, 0..15, where 0 is the highest class (big city), 15 is the lowest class (small settlement) and -1 means that city class is undefined.

◆ isCapital

- (BOOL) isCapital
readwritenonatomicassign

Specifies whether the city is the capital of a country.

◆ name

- (NSString*) name
readwritenonatomiccopy

The name of the city.

◆ transliteratedName

- (NSString*) transliteratedName
readwritenonatomiccopy

Transliterated name of the city.