AWFWeatherObject
Objective-C
@interface AWFWeatherObject
Swift
class AWFWeatherObject
An AWFWeatherObject object is the base model object used to represent all data returned from the API using object loaders.
-
The property name that corresponds to the id of the object from the database.
Declaration
Objective-C
- (nullable NSString *)identifier;Swift
func identifier() -> String?Return Value
A string representation of the property name.
-
Returns the API property key mapped to the model object’s property name.
Declaration
Objective-C
+ (nullable NSString *)remotePropertyNameMappedToPropertyName: (nonnull NSString *)propertyName;Swift
class func remotePropertyNameMapped(toPropertyName propertyName: String) -> String?Parameters
propertyNameThe model object’s property name of which to return the mapped property key
View on GitHub
AWFWeatherObject Class Reference