Class
GridProperties
open class GridProperties
- Grid property loader
Relationships
Subclasses
MGRSProperties
Initializers
init(_:_:_:)
public init(_ resourceClass: AnyClass, _ bundle: String, _ name: String)
- Initialize
- @param resourceClass resource class
- @param bundle bundle name
- @param name properties name
Properties
Methods
combine(_:_:)
public func combine(_ base: String, _ property: String) -> String
- Combine the base property with the property to create a single combined property
- @param base base property
- @param property property
- @return string value
value(_:)
public func value(_ property: String) -> String
- Get the string value of the property
- @param property property
- @return string value
value(_:_:)
public func value(_ property: String, _ required: Bool) -> String?
- Get the string value of the property with required option
- @param property property
- @param required true if required to exist
- @return string value
value(_:_:)
public func value(_ base: String, _ property: String) -> String
- Get the string value of the property combined with the base
- @param base base property
- @param property property
- @return string value
value(_:_:_:)
public func value(_ base: String, _ property: String, _ required: Bool) -> String?
- Get the string value of the property combined with the base with required option
- @param base base property
- @param property property
- @param required true if required to exist
- @return string value
intValue(_:)
public func intValue(_ property: String) -> Int
- Get the int value of the property
- @param property property
- @return int value
intValue(_:_:)
public func intValue(_ property: String, _ required: Bool) -> Int?
- Get the int value of the property with required option
- @param property property
- @param required true if required to exist
- @return int value
intValue(_:_:)
public func intValue(_ base: String, _ property: String) -> Int
- Get the int value of the property
- @param base base property
- @param property property
- @return int value
intValue(_:_:_:)
public func intValue(_ base: String, _ property: String, _ required: Bool) -> Int?
- Get the int value of the property with required option
- @param base base property
- @param property property
- @param required true if required to exist
- @return int value
floatValue(_:)
public func floatValue(_ property: String) -> Float
- Get the float value of the property
- @param property property
- @return float value
floatValue(_:_:)
public func floatValue(_ property: String, _ required: Bool) -> Float?
- Get the float value of the property with required option
- @param property property
- @param required true if required to exist
- @return float value
floatValue(_:_:)
public func floatValue(_ base: String, _ property: String) -> Float
- Get the float value of the property
- @param base base property
- @param property property
- @return float value
floatValue(_:_:_:)
public func floatValue(_ base: String, _ property: String, _ required: Bool) -> Float?
- Get the float value of the property with required option
- @param base base property
- @param property property
- @param required true if required to exist
- @return float value
doubleValue(_:)
public func doubleValue(_ property: String) -> Double
- Get the double value of the property
- @param property property
- @return double value
doubleValue(_:_:)
public func doubleValue(_ property: String, _ required: Bool) -> Double?
- Get the double value of the property with required option
- @param property property
- @param required true if required to exist
- @return double value
doubleValue(_:_:)
public func doubleValue(_ base: String, _ property: String) -> Double
- Get the double value of the property
- @param base base property
- @param property property
- @return double value
doubleValue(_:_:_:)
public func doubleValue(_ base: String, _ property: String, _ required: Bool) -> Double?
- Get the double value of the property with required option
- @param base base property
- @param property property
- @param required true if required to exist
- @return double value
boolValue(_:)
public func boolValue(_ property: String) -> Bool
- Get the bool value of the property
- @param property property
- @return bool value
boolValue(_:_:)
public func boolValue(_ property: String, _ required: Bool) -> Bool?
- Get the bool value of the property with required option
- @param property property
- @param required true if required to exist
- @return bool value
boolValue(_:_:)
public func boolValue(_ base: String, _ property: String) -> Bool
- Get the bool value of the property
- @param base base property
- @param property property
- @return bool value
boolValue(_:_:_:)
public func boolValue(_ base: String, _ property: String, _ required: Bool) -> Bool?
- Get the bool value of the property with required option
- @param base base property
- @param property property
- @param required true if required to exist
- @return bool value
propertyListURL(_:_:_:)
public static func propertyListURL(_ resourceClass: AnyClass, _ bundle: String, _ name: String) -> URL
resourceURL(_:_:_:_:)
public static func resourceURL(_ resourceClass: AnyClass, _ bundle: String, _ name: String, _ ext: String) -> URL