SITPOICategory
Objective-C
@interface SITPOICategory : SITResource
Swift
class SITPOICategory : SITResource
It represents the types of POI
-
Name in multiple languages
Declaration
Objective-C
@property (nonatomic, strong) SITMultilanguageString *_Nonnull name;
Swift
var name: SITMultilanguageString { get set }
-
Complementary text identifier of a category
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull code;
Swift
var code: String { get set }
-
Determines the visibility of a category (YES means available to all users, NO means available to a particular user).
Declaration
Objective-C
@property (nonatomic) BOOL isPublic;
Swift
var isPublic: Bool { get set }
-
Returns the name of the POI category in the language specified. If there is no name for that language it will return the default value
Declaration
Objective-C
- (NSString *_Nonnull)getLocalizedName:(NSString *_Nonnull)langCode;
Swift
func getLocalizedName(_ langCode: String) -> String
Parameters
langCode
Language code in ISO 639. It must have two digits, for example “es”, “en”
Return Value
Localized name
-
Deprecated
Use -valueForLocale method of the name property instead.
Name of the category in English
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull nameEn;
Swift
var nameEn: String { get set }
-
Deprecated
Use -valueForLocale method of the name property instead.
Name of the category in Spanish
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nonnull nameEs;
Swift
var nameEs: String { get set }