GPKGProperties
Objective-C
@interface GPKGProperties : NSObject
Swift
class GPKGProperties : NSObject
GeoPackage property loader
-
Combine the base property with the property to create a single combined property
Declaration
Objective-C
+ (NSString *)combineBaseProperty:(NSString *)base withProperty:(NSString *)property;
Swift
class func combineBaseProperty(_ base: String!, withProperty property: String!) -> String!
Parameters
base
base property
property
property
Return Value
string value
-
Get the string value of the property
Declaration
Objective-C
+ (NSString *)valueOfProperty:(NSString *)property;
Swift
class func value(ofProperty property: String!) -> String!
Parameters
property
property
Return Value
string value
-
Get the string value of the property with required option
Declaration
Objective-C
+ (NSString *)valueOfProperty:(NSString *)property andRequired:(BOOL)required;
Swift
class func value(ofProperty property: String!, andRequired required: Bool) -> String!
Parameters
property
property
required
true if required to exist
Return Value
string value
-
Get the string value of the property combined with the base
Declaration
Objective-C
+ (NSString *)valueOfBaseProperty:(NSString *)base andProperty:(NSString *)property;
Swift
class func value(ofBaseProperty base: String!, andProperty property: String!) -> String!
Parameters
base
base property
property
property
Return Value
string value
-
Get the string value of the property combined with the base with required option
Declaration
Objective-C
+ (NSString *)valueOfBaseProperty:(NSString *)base andProperty:(NSString *)property andRequired:(BOOL)required;
Swift
class func value(ofBaseProperty base: String!, andProperty property: String!, andRequired required: Bool) -> String!
Parameters
base
base property
property
property
required
true if required to exist
Return Value
string value
-
Get the number value of the property
Declaration
Objective-C
+ (NSNumber *)numberValueOfProperty:(NSString *)property;
Swift
class func numberValue(ofProperty property: String!) -> NSNumber!
Parameters
property
property
Return Value
number value
-
Get the number value of the property with required option
Declaration
Objective-C
+ (NSNumber *)numberValueOfProperty:(NSString *)property andRequired:(BOOL)required;
Swift
class func numberValue(ofProperty property: String!, andRequired required: Bool) -> NSNumber!
Parameters
property
property
required
true if required to exist
Return Value
number value
-
Get the number value of the property combined with the base
Declaration
Objective-C
+ (NSNumber *)numberValueOfBaseProperty:(NSString *)base andProperty:(NSString *)property;
Swift
class func numberValue(ofBaseProperty base: String!, andProperty property: String!) -> NSNumber!
Parameters
base
base property
property
property
Return Value
number value
-
Get the number value of the property combined with the base with required option
Declaration
Objective-C
+ (NSNumber *)numberValueOfBaseProperty:(NSString *)base andProperty:(NSString *)property andRequired:(BOOL)required;
Swift
class func numberValue(ofBaseProperty base: String!, andProperty property: String!, andRequired required: Bool) -> NSNumber!
Parameters
base
base property
property
property
required
true if required to exist
Return Value
number value
-
Get the boolean value of the property
Declaration
Objective-C
+ (BOOL)boolValueOfProperty:(NSString *)property;
Swift
class func boolValue(ofProperty property: String!) -> Bool
Parameters
property
property
Return Value
bool value
-
Get the boolean value of the property with required option
Declaration
Objective-C
+ (BOOL)boolValueOfProperty:(NSString *)property andRequired:(BOOL)required;
Swift
class func boolValue(ofProperty property: String!, andRequired required: Bool) -> Bool
Parameters
property
property
required
true if required to exist
Return Value
bool value
-
Get the boolean value of the property combined with the base
Declaration
Objective-C
+ (BOOL)boolValueOfBaseProperty:(NSString *)base andProperty:(NSString *)property;
Swift
class func boolValue(ofBaseProperty base: String!, andProperty property: String!) -> Bool
Parameters
base
base property
property
property
Return Value
bool value
-
Get the boolean value of the property combined with the base with required option
Declaration
Objective-C
+ (BOOL)boolValueOfBaseProperty:(NSString *)base andProperty:(NSString *)property andRequired:(BOOL)required;
Swift
class func boolValue(ofBaseProperty base: String!, andProperty property: String!, andRequired required: Bool) -> Bool
Parameters
base
base property
property
property
required
true if required to exist
Return Value
bool value
-
Get the array value of the property
Declaration
Objective-C
+ (NSArray *)arrayValueOfProperty:(NSString *)property;
Swift
class func arrayValue(ofProperty property: String!) -> [Any]!
Parameters
property
property
Return Value
array value
-
Get the array value of the property with required option
Declaration
Objective-C
+ (NSArray *)arrayValueOfProperty:(NSString *)property andRequired:(BOOL)required;
Swift
class func arrayValue(ofProperty property: String!, andRequired required: Bool) -> [Any]!
Parameters
property
property
required
true if required to exist
Return Value
array value
-
Get the array value of the property combined with the base
Declaration
Objective-C
+ (NSArray *)arrayValueOfBaseProperty:(NSString *)base andProperty:(NSString *)property;
Swift
class func arrayValue(ofBaseProperty base: String!, andProperty property: String!) -> [Any]!
Parameters
base
base property
property
property
Return Value
array value
-
Get the array value of the property combined with the base with required option
Declaration
Objective-C
+ (NSArray *)arrayValueOfBaseProperty:(NSString *)base andProperty:(NSString *)property andRequired:(BOOL)required;
Swift
class func arrayValue(ofBaseProperty base: String!, andProperty property: String!, andRequired required: Bool) -> [Any]!
Parameters
base
base property
property
property
required
true if required to exist
Return Value
array value
-
Get the dictionary value of the property
Declaration
Objective-C
+ (NSDictionary *)dictionaryValueOfProperty:(NSString *)property;
Swift
class func dictionaryValue(ofProperty property: String!) -> [AnyHashable : Any]!
Parameters
property
property
Return Value
dictionary value
-
Get the dictionary value of the property with required option
Declaration
Objective-C
+ (NSDictionary *)dictionaryValueOfProperty:(NSString *)property andRequired:(BOOL)required;
Swift
class func dictionaryValue(ofProperty property: String!, andRequired required: Bool) -> [AnyHashable : Any]!
Parameters
property
property
required
true if required to exist
Return Value
dictionary value
-
Get the dictionary value of the property combined with the base
Declaration
Objective-C
+ (NSDictionary *)dictionaryValueOfBaseProperty:(NSString *)base andProperty:(NSString *)property;
Swift
class func dictionaryValue(ofBaseProperty base: String!, andProperty property: String!) -> [AnyHashable : Any]!
Parameters
base
base property
property
property
Return Value
dictionary value
-
Get the dictionary value of the property combined with the base with required option
Declaration
Objective-C
+ (NSDictionary *)dictionaryValueOfBaseProperty:(NSString *)base andProperty:(NSString *)property andRequired:(BOOL)required;
Swift
class func dictionaryValue(ofBaseProperty base: String!, andProperty property: String!, andRequired required: Bool) -> [AnyHashable : Any]!
Parameters
base
base property
property
property
required
true if required to exist
Return Value
dictionary value